diff --git a/lib/logic/cubit/devices/devices_cubit.dart b/lib/logic/cubit/devices/devices_cubit.dart index 5debf20e..7713254b 100644 --- a/lib/logic/cubit/devices/devices_cubit.dart +++ b/lib/logic/cubit/devices/devices_cubit.dart @@ -21,7 +21,7 @@ class ApiDevicesCubit } Future refresh() async { - emit(const ApiDevicesState([], LoadingStatus.refreshing)); + emit(ApiDevicesState([state.thisDevice], LoadingStatus.refreshing)); _refetch(); }