Skip to content

Commit

Permalink
リモートのユーザーページをブラウザで開くときにuriではなくurlを優先する
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Nov 7, 2024
1 parent 47cefb3 commit b4bbb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/user_page/user_control_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class UserControlDialog extends HookConsumerWidget implements AutoRouteWrapper {
Navigator.of(context).pop();
});
final openBrowserAsRemote = useAsync(() async {
final uri = response.uri ?? response.url;
final uri = response.url ?? response.uri;
if (uri == null) return;
await launchUrl(uri, mode: LaunchMode.externalApplication);
if (!context.mounted) return;
Expand Down

0 comments on commit b4bbb82

Please sign in to comment.