Skip to content

Commit

Permalink
Hide datacap on ios.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Jun 24, 2024
1 parent 95522be commit 0b6802f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/common/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ abstract class SubscribedNotifier<T> extends ValueNotifier<T> {
super.removeListener(listener);
if (refCount == 0) {
removeFromCache();
cancel();
// cancel();
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions lib/vpn/vpn_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ class VPNTab extends StatelessWidget {
if (Platform.isAndroid) ...{
const CDivider(height: 32.0),
SplitTunnelingWidget(),
if (!proUser) const VPNBandwidth(),
}
},
if (!proUser && !Platform.isIOS)
const VPNBandwidth(),
],
),
),
Expand Down
11 changes: 9 additions & 2 deletions macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ PODS:
- flutter_local_notifications (0.0.1):
- FlutterMacOS
- FlutterMacOS (1.0.0)
- in_app_purchase_storekit (0.0.1):
- Flutter
- FlutterMacOS
- OrderedSet (5.0.0)
- package_info_plus (0.0.1):
- FlutterMacOS
Expand Down Expand Up @@ -59,6 +62,7 @@ DEPENDENCIES:
- flutter_inappwebview_macos (from `Flutter/ephemeral/.symlinks/plugins/flutter_inappwebview_macos/macos`)
- flutter_local_notifications (from `Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos`)
- FlutterMacOS (from `Flutter/ephemeral`)
- in_app_purchase_storekit (from `Flutter/ephemeral/.symlinks/plugins/in_app_purchase_storekit/darwin`)
- package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`)
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
- screen_retriever (from `Flutter/ephemeral/.symlinks/plugins/screen_retriever/macos`)
Expand Down Expand Up @@ -95,6 +99,8 @@ EXTERNAL SOURCES:
:path: Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos
FlutterMacOS:
:path: Flutter/ephemeral
in_app_purchase_storekit:
:path: Flutter/ephemeral/.symlinks/plugins/in_app_purchase_storekit/darwin
package_info_plus:
:path: Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos
path_provider_foundation:
Expand Down Expand Up @@ -128,6 +134,7 @@ SPEC CHECKSUMS:
flutter_inappwebview_macos: 9600c9df9fdb346aaa8933812009f8d94304203d
flutter_local_notifications: 3805ca215b2fb7f397d78b66db91f6a747af52e4
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
in_app_purchase_storekit: 8c3b0b3eb1b0f04efbff401c3de6266d4258d433
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
package_info_plus: fa739dd842b393193c5ca93c26798dff6e3d0e0c
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
Expand All @@ -142,6 +149,6 @@ SPEC CHECKSUMS:
video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3
window_manager: 3a1844359a6295ab1e47659b1a777e36773cd6e8

PODFILE CHECKSUM: 9ebaf0ce3d369aaa26a9ea0e159195ed94724cf3
PODFILE CHECKSUM: b026caf428aef5db8f45e6734a110a98281273f6

COCOAPODS: 1.15.2
COCOAPODS: 1.14.3

0 comments on commit 0b6802f

Please sign in to comment.