Skip to content

Commit

Permalink
fix(connectivity_plus): WASM-compatible conditional imports (#2825)
Browse files Browse the repository at this point in the history
  • Loading branch information
IchordeDionysos committed Apr 7, 2024
1 parent 11200cf commit 6bee4a7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,7 +11,7 @@ export 'package:connectivity_plus_platform_interface/connectivity_plus_platform_
show ConnectivityResult;

export 'src/connectivity_plus_linux.dart'
if (dart.library.html) 'src/connectivity_plus_web.dart';
if (dart.library.js_interop) 'src/connectivity_plus_web.dart';

/// Discover network connectivity configurations: Distinguish between WI-FI and cellular, check WI-FI status and more.
class Connectivity {
Expand Down

0 comments on commit 6bee4a7

Please sign in to comment.