Skip to content

Commit

Permalink
Disable update checking on preview builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed May 8, 2024
1 parent 566740c commit 440d937
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ class HomePageState extends BaseState<HomePage> {
});
}
} else {
if (const String.fromEnvironment('BVS').contains("Preview")) {
return;
}
final dio = Dio();

// Retrieve the package info
Expand Down

0 comments on commit 440d937

Please sign in to comment.