Skip to content

Commit

Permalink
update random number to be int32
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmartos96 committed May 24, 2024
1 parent 5a6ff10 commit 09ada6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ElectricServiceExtension {
late final api = Toolbar(ElectricDevtoolsBinding.registry);

// Random initial subscription id, so that it doesn't collide when restarting the app
int _subscriptionId = Random().nextInt(9999999999);
int _subscriptionId = Random().nextInt(99999999);
final Map<int, void Function()> _activeSubscriptions = {};

Future<Object?> _handle(Map<String, String> parameters) async {
Expand Down

0 comments on commit 09ada6f

Please sign in to comment.