Skip to content

Commit

Permalink
bug fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Nov 16, 2024
1 parent 48962f3 commit 8db98e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions android/fastlane/metadata/android/en-US/changelogs/32.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Compatibility issues fixed for windows
Scan slowness improved
2 changes: 1 addition & 1 deletion lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class _WifiDetailState extends State<HomePage> {
String? wifiGatewayIP;
try {
wifiGatewayIP = await NetworkInfo().getWifiGatewayIP();
} on Exception catch (e) {
} catch (e) {
debugPrint('Unimplemented error $e');
}
final gatewayIp = appSettings.customSubnet.isNotEmpty
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/host_scan_page/host_scan_bloc/host_scan_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class HostScanBloc extends Bloc<HostScanEvent, HostScanState> {
String? wifiGatewayIP;
try {
wifiGatewayIP = await NetworkInfo().getWifiGatewayIP();
} on Exception catch (e) {
debugPrint("Not implemented $e");
} catch (e) {
debugPrint('Unimplemented error $e');
}
ip = await NetworkInfo().getWifiIP();
if (appSettings.customSubnet.isNotEmpty) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A Network Analyzer

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.1.0+31
version: 1.1.0+32

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down

0 comments on commit 8db98e8

Please sign in to comment.