Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-unleash committed Apr 16, 2024
1 parent d64c16d commit fe2a056
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/unleash_proxy_client_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -230,17 +230,17 @@ class UnleashClient extends EventEmitter {

Future<Map<String, ToggleConfig>> _fetchTogglesFromStorage() async {
try {
final toggles =
await actualStorageProvider.get(storageWithApp(appName, storageKey));
final toggles =
await actualStorageProvider.get(storageWithApp(appName, storageKey));

if (toggles == null) {
return {};
}

return parseToggles(toggles);
} catch (e) {
if (toggles == null) {
return {};
}

return parseToggles(toggles);
} catch (e) {
return {};
}
}

Future<void> updateContext(UnleashContext unleashContext) async {
Expand Down

0 comments on commit fe2a056

Please sign in to comment.