An open-source cross-platform alternative to AirDrop
fix(windows): unwanted location permission
Tien Do Nam221f40a90df6
diff --git a/app/lib/provider/local_ip_provider.dart b/app/lib/provider/local_ip_provider.dartindex 97c43b31..e3db6fc0 100644--- a/app/lib/provider/local_ip_provider.dart+++ b/app/lib/provider/local_ip_provider.dart@@ -48,9 +48,7 @@ class InitLocalIpAction extends ReduxAction<LocalIpService, NetworkState> {if (checkPlatform([TargetPlatform.windows])) {// https://github.com/localsend/localsend/issues/12- _subscription = Stream.periodic(const Duration(seconds: 5), (_) {}).listen((_) async {- await dispatchAsync(FetchLocalIpAction());- });+ // https://github.com/localsend/localsend/issues/78} else {_subscription = Connectivity().onConnectivityChanged.listen((_) async {await dispatchAsync(FetchLocalIpAction());