diff --git a/lib/screens/settings/account/widgets/profile_card.dart b/lib/screens/settings/account/widgets/profile_card.dart index eab9f7f..ca9b55d 100644 --- a/lib/screens/settings/account/widgets/profile_card.dart +++ b/lib/screens/settings/account/widgets/profile_card.dart @@ -64,8 +64,32 @@ class ProfileCard extends StatelessWidget { MaterialPageRoute( builder: (context) { return Scaffold( - appBar: const FrostyAppBar( - title: Text('Connect with Twitch'), + appBar: FrostyAppBar( + title: const Text('Connect with Twitch'), + actions: [ + IconButton( + icon: const Icon(Icons.help_rounded), + onPressed: () => showDialog( + context: context, + builder: (context) { + return AlertDialog( + title: const Text( + 'Workaround for the Twitch cookie banner', + ), + content: const Text( + 'If the Twitch cookie banner is still blocking the login, try clicking one of the links in the cookie policy description and navigating until you reach the Twitch home page. From there, you can try logging in on the top right profile icon. Once logged in, exit this page and then try again.', + ), + actions: [ + TextButton( + onPressed: Navigator.of(context).pop, + child: const Text('Close'), + ), + ], + ); + }, + ), + ), + ], ), body: WebViewWidget( controller: authStore.createAuthWebViewController(),