Browse Source

fix(neon): Add missing platform setup

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/610/head
jld3103 1 year ago
parent
commit
f39f40da22
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  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/blocs/push_notifications.dart';
import 'package:neon/src/models/account.dart'; import 'package:neon/src/models/account.dart';
import 'package:neon/src/models/app_implementation.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/theme/neon.dart';
import 'package:neon/src/utils/global_options.dart'; import 'package:neon/src/utils/global_options.dart';
import 'package:neon/src/utils/request_manager.dart'; import 'package:neon/src/utils/request_manager.dart';
@ -30,6 +31,7 @@ Future runNeon({
final sharedPreferences = await SharedPreferences.getInstance(); final sharedPreferences = await SharedPreferences.getInstance();
await NeonPlatform.setup();
await RequestManager.instance.initCache(); await RequestManager.instance.initCache();
final allAppImplementations = getAppImplementations(sharedPreferences); final allAppImplementations = getAppImplementations(sharedPreferences);

Loading…
Cancel
Save