fix(ui): Fix some ui bugs in DetailDeviceScreen, HomeScreen, UnregisterDeviceDialog
This commit is contained in:
@@ -540,6 +540,12 @@ class _DetailDeviceScreenState extends State<DetailDeviceScreen> {
|
||||
child: CircularProgressIndicator(),
|
||||
),
|
||||
);
|
||||
} else if (sensorTempsSnapshot.data!.isEmpty) {
|
||||
return Center(
|
||||
child: Text(
|
||||
appLocalization(context).no_data_message,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
return AspectRatio(
|
||||
aspectRatio: 3,
|
||||
|
||||
Reference in New Issue
Block a user