File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -64,25 +64,7 @@ class CollectionPageState extends State<CollectionPage> {
6464 showBadge: false ,
6565 );
6666
67- if (kIsWeb) {
68- showDialog <String >(
69- context: context,
70- builder: (BuildContext context) => AlertDialog (
71- title: const Text ('Warning' ),
72- content: const Text (
73- 'You are using the web version of Enthusiast Tea Timer. All data is saved locally and will be lost if you clear your browsing data.' ,
74- ),
75- actions: < Widget > [
76- TextButton (
77- onPressed: () async {
78- Navigator .pop (context, 'OK' );
79- },
80- child: const Text ('OK' ),
81- ),
82- ],
83- ),
84- );
85- } else if (Platform .isAndroid) {
67+ if (! kIsWeb && Platform .isAndroid) {
8668 FlutterBackground .hasPermissions.then ((hasPermissions) {
8769 if (! hasPermissions && mounted) {
8870 showDialog <String >(
You can’t perform that action at this time.
0 commit comments