diff --git a/lib/modules/aeswap/ui/views/util/update_extension_icon_non_web.dart b/lib/modules/aeswap/ui/views/util/update_extension_icon_non_web.dart new file mode 100644 index 000000000..19907e7c0 --- /dev/null +++ b/lib/modules/aeswap/ui/views/util/update_extension_icon_non_web.dart @@ -0,0 +1,3 @@ +void updateExtensionIcon(bool isLocked) { + return; +} diff --git a/lib/modules/aeswap/ui/views/util/update_extension_icon.dart b/lib/modules/aeswap/ui/views/util/update_extension_icon_web.dart similarity index 100% rename from lib/modules/aeswap/ui/views/util/update_extension_icon.dart rename to lib/modules/aeswap/ui/views/util/update_extension_icon_web.dart diff --git a/lib/ui/views/authenticate/lock_icon_updater.dart b/lib/ui/views/authenticate/lock_icon_updater.dart index a2ae593ba..a5cd7e85b 100644 --- a/lib/ui/views/authenticate/lock_icon_updater.dart +++ b/lib/ui/views/authenticate/lock_icon_updater.dart @@ -1,5 +1,6 @@ import 'package:aewallet/application/authentication/authentication.dart'; -import 'package:aewallet/modules/aeswap/ui/views/util/update_extension_icon.dart'; +import 'package:aewallet/modules/aeswap/ui/views/util/update_extension_icon_non_web.dart' + if (dart.library.js) 'package:aewallet/modules/aeswap/ui/views/util/update_extension_icon_web.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';