mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-08 17:25:01 -04:00
update beta dialog
This commit is contained in:
parent
31074732b6
commit
574fa499a0
2 changed files with 8 additions and 5 deletions
|
@ -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'),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue