File tree 2 files changed +9
-5
lines changed
packages/instabug_private_views
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ void main() {
21
21
Zone .current.handleUncaughtError (details.exception, details.stack! );
22
22
};
23
23
24
- enableInstabugMaskingPrivateViews ();
24
+ InstabugPrivateViewManager . enable ();
25
25
runApp (const PrivateViewPage ());
26
26
},
27
27
CrashReporting .reportCrash,
Original file line number Diff line number Diff line change @@ -4,8 +4,12 @@ import 'package:instabug_private_views/src/private_views_manager.dart';
4
4
export 'src/instabug_private_view.dart' ;
5
5
export 'src/instabug_sliver_private_view.dart' ;
6
6
7
- void enableInstabugMaskingPrivateViews () {
8
- final api = InstabugPrivateViewHostApi ();
9
- api.init ();
10
- InstabugPrivateViewFlutterApi .setup (PrivateViewsManager .I );
7
+ class InstabugPrivateViewManager {
8
+ static void enable () {
9
+ final api = InstabugPrivateViewHostApi ();
10
+ api.init ();
11
+ InstabugPrivateViewFlutterApi .setup (PrivateViewsManager .I );
12
+ }
13
+
14
+
11
15
}
You can’t perform that action at this time.
0 commit comments