Browse Source

Merge pull request #610 from nextcloud/fix/platform-setup

fix(neon): Add missing platform setup
pull/611/head
Kate 1 year ago committed by GitHub
parent
commit
892561bccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/neon/neon/lib/neon.dart

2
packages/neon/neon/lib/neon.dart

@ -9,6 +9,7 @@ import 'package:neon/src/blocs/next_push.dart';
import 'package:neon/src/blocs/push_notifications.dart';
import 'package:neon/src/models/account.dart';
import 'package:neon/src/models/app_implementation.dart';
import 'package:neon/src/platform/platform.dart';
import 'package:neon/src/theme/neon.dart';
import 'package:neon/src/utils/global_options.dart';
import 'package:neon/src/utils/request_manager.dart';
@ -30,6 +31,7 @@ Future runNeon({
final sharedPreferences = await SharedPreferences.getInstance();
await NeonPlatform.setup();
await RequestManager.instance.initCache();
final allAppImplementations = getAppImplementations(sharedPreferences);

Loading…
Cancel
Save