add fallback if opening a link fails

This commit is contained in:
Henry Hiles 2026-11-17 10:18:30 -05:00
commit 9a8a54c4a3
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -48,7 +48,7 @@ class const SelectServerPage({super.key}) extends HookConsumerWidget {
Future<void> tryLogin(Uri url) async {
final OAuthAuthCodeResponse codeResponse;
try {
codeResponse = await ref.watch(
codeResponse = await ref.read(
AuthUrlController.provider(url).future,
);
} on GomuksException catch (error) {