Skip to content

Commit 84b6868

Browse files
snapshot: private-views
1 parent 8966be7 commit 84b6868

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

packages/instabug_private_views/example/pubspec.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,20 @@ packages:
9797
source: hosted
9898
version: "0.15.5"
9999
instabug_flutter:
100-
dependency: "direct overridden"
100+
dependency: transitive
101101
description:
102-
path: "../../instabug_flutter"
103-
relative: true
104-
source: path
105-
version: "14.0.0"
102+
name: instabug_flutter
103+
sha256: c17513d000a1d6ecf5ee9cd1d820760143985b5b006d06c65744db949988aa17
104+
url: "https://pub.dev"
105+
source: hosted
106+
version: "14.1.0"
106107
instabug_private_views:
107108
dependency: "direct main"
108109
description:
109110
path: ".."
110111
relative: true
111112
source: path
112-
version: "1.0.1"
113+
version: "1.0.0"
113114
leak_tracker:
114115
dependency: transitive
115116
description:

packages/instabug_private_views/lib/instabug_private_view.dart

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ import 'package:instabug_private_views/src/private_views_manager.dart';
44
export 'src/instabug_private_view.dart';
55
export 'src/instabug_sliver_private_view.dart';
66

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+
1115
}

0 commit comments

Comments
 (0)