update beta dialog

This commit is contained in:
Christien Rioux 2024-08-07 12:03:23 -07:00
parent 31074732b6
commit 574fa499a0
2 changed files with 8 additions and 5 deletions

View file

@ -64,6 +64,7 @@ class HomeScreenState extends State<HomeScreen>
var displayBetaWarning = true;
final theme = Theme.of(context);
final scale = theme.extension<ScaleScheme>()!;
final scaleConfig = theme.extension<ScaleConfig>()!;
await showWarningWidgetModal(
context: context,
@ -79,14 +80,16 @@ class HomeScreenState extends State<HomeScreen>
.copyWith(color: scale.primaryScale.appText),
),
TextSpan(
text: 'https://veilid.com/chat/beta',
text: 'https://veilid.com/chat/knownissues',
style: theme.textTheme.bodyMedium!.copyWith(
color: scale.primaryScale.primary,
color: scaleConfig.useVisualIndicators
? scale.secondaryScale.primaryText
: scale.secondaryScale.primary,
decoration: TextDecoration.underline,
),
recognizer: TapGestureRecognizer()
..onTap =
() => launchUrlString('https://veilid.com/chat/beta'),
..onTap = () =>
launchUrlString('https://veilid.com/chat/knownissues'),
),
],
),