Change ip error refresh button

This commit is contained in:
problematicconsumer
2024-02-17 12:32:11 +03:30
parent 3541f8e3db
commit 71fb84bea1
4 changed files with 63 additions and 33 deletions

View File

@@ -40,6 +40,7 @@ class IpInfoNotifier extends _$IpInfoNotifier with AppLogger {
}
Future<void> refresh() async {
if (state is AsyncLoading) return;
loggy.debug("refreshing");
await ref.read(hapticServiceProvider.notifier).lightImpact();
ref.invalidateSelf();