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

@@ -56,9 +56,18 @@ class ActiveProxyFooter extends HookConsumerWidget {
),
],
),
AsyncError() => _InfoProp(
icon: FluentIcons.error_circle_20_regular,
text: t.general.unknown,
AsyncError() => Row(
children: [
const Icon(FluentIcons.error_circle_20_regular),
const Gap(8),
IPText.unknown(
onLongPress: () async {
ref
.read(ipInfoNotifierProvider.notifier)
.refresh();
},
),
],
),
_ => const Row(
children: [