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

@ -13,7 +13,7 @@
},
"splash": {
"beta_title": "VeilidChat is BETA SOFTWARE",
"beta_text": "DO NOT USE THIS FOR ANYTHING IMPORTANT\n\nUntil 1.0 is released:\n\n• You should have no expectations of actual privacy, or guarantees of security.\n• You will likely lose accounts, contacts, and messages and need to recreate them.\n\nPlease read our BETA PARTICIPATION GUIDE located here:\n\n"
"beta_text": "DO NOT USE THIS FOR ANYTHING IMPORTANT\n\nUntil 1.0 is released:\n\n• You should have no expectations of actual privacy, or guarantees of security.\n• You will likely lose accounts, contacts, and messages and need to recreate them.\n\nTo know what to expect, review our known issues located here:\n\n"
},
"account": {
"form_name": "Name",

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'),
),
],
),