mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-25 00:14:42 +01:00
Fix Platform check crashing on web
This commit is contained in:
parent
83f90ceaa3
commit
b4a667e0ee
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
final isSupportMapView = Platform.isAndroid;
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
|
final isSupportMapView = !kIsWeb && Platform.isAndroid;
|
||||||
|
|
Loading…
Add table
Reference in a new issue