mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +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';
|
||||
|
||||
final isSupportMapView = Platform.isAndroid;
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
||||
final isSupportMapView = !kIsWeb && Platform.isAndroid;
|
||||
|
|
Loading…
Reference in a new issue