diff --git a/packages/djangoflow_remote_config/lib/src/blocs/remote_config_cubit/remote_config_cubit.dart b/packages/djangoflow_remote_config/lib/src/blocs/remote_config_cubit/remote_config_cubit.dart index afa0f930..ef254893 100644 --- a/packages/djangoflow_remote_config/lib/src/blocs/remote_config_cubit/remote_config_cubit.dart +++ b/packages/djangoflow_remote_config/lib/src/blocs/remote_config_cubit/remote_config_cubit.dart @@ -59,7 +59,9 @@ abstract class RemoteConfigCubit extends HydratedCubit emit( state.copyWith( - config: result?.part_ ?? fallbackConfig, + config: (result?.part_ != null && result!.part_.isNotEmpty) + ? result.part_ + : fallbackConfig, isLoading: false, lastUpdate: lastUpdate, ),