Skip to content

Commit

Permalink
use consts for isWeb
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Jan 25, 2025
1 parent 47bf7cb commit deabc29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/platform/js.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bool get isWeb => true;
const bool isWeb = true;
2 changes: 1 addition & 1 deletion lib/src/platform/vm.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bool get isWeb => false;
const bool isWeb = false;

0 comments on commit deabc29

Please sign in to comment.