From cb83fccc68308528f85183ed4c42a52e434fa5ef Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 20 Jun 2024 10:36:02 -0600 Subject: [PATCH] add short description to app config --- lib/app_config.dart | 1 + lib/pages/intro_view.dart | 2 +- lib/pages_desktop_specific/password/desktop_login_view.dart | 2 +- scripts/app_config/configure_campfire.sh | 1 + scripts/app_config/configure_stack_duo.sh | 1 + scripts/app_config/configure_stack_wallet.sh | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/app_config.dart b/lib/app_config.dart index 89e847b93..64ce682fa 100644 --- a/lib/app_config.dart +++ b/lib/app_config.dart @@ -16,6 +16,7 @@ abstract class AppConfig { static const suffix = _suffix; static String get appDefaultDataDirName => _appDataDirName; + static String get shortDescriptionText => _shortDescriptionText; static String get commitHash => _commitHash; static bool hasFeature(AppFeature feature) => _features.contains(feature); diff --git a/lib/pages/intro_view.dart b/lib/pages/intro_view.dart index 576d99e3a..27e694ff4 100644 --- a/lib/pages/intro_view.dart +++ b/lib/pages/intro_view.dart @@ -213,7 +213,7 @@ class IntroAboutText extends StatelessWidget { @override Widget build(BuildContext context) { return Text( - "An open-source, multicoin wallet for everyone", + AppConfig.shortDescriptionText, textAlign: TextAlign.center, style: !isDesktop ? STextStyles.subtitle(context) diff --git a/lib/pages_desktop_specific/password/desktop_login_view.dart b/lib/pages_desktop_specific/password/desktop_login_view.dart index 54d00c789..89447ee57 100644 --- a/lib/pages_desktop_specific/password/desktop_login_view.dart +++ b/lib/pages_desktop_specific/password/desktop_login_view.dart @@ -208,7 +208,7 @@ class _DesktopLoginViewState extends ConsumerState { SizedBox( width: 350, child: Text( - "Open source multicoin wallet for everyone", + AppConfig.shortDescriptionText, textAlign: TextAlign.center, style: STextStyles.desktopSubtitleH1(context), ), diff --git a/scripts/app_config/configure_campfire.sh b/scripts/app_config/configure_campfire.sh index b629c53ad..9033255d9 100755 --- a/scripts/app_config/configure_campfire.sh +++ b/scripts/app_config/configure_campfire.sh @@ -44,6 +44,7 @@ const _prefix = "Campfire"; const _separator = ""; const _suffix = ""; const _appDataDirName = "campfire"; +const _shortDescriptionText = "Your privacy. Your wallet. Your Firo."; const _commitHash = "$BUILT_COMMIT_HASH"; const Set _features = {}; diff --git a/scripts/app_config/configure_stack_duo.sh b/scripts/app_config/configure_stack_duo.sh index 7c1b2ff36..135d03958 100755 --- a/scripts/app_config/configure_stack_duo.sh +++ b/scripts/app_config/configure_stack_duo.sh @@ -38,6 +38,7 @@ const _prefix = "Stack"; const _separator = " "; const _suffix = "Duo"; const _appDataDirName = "stackduo"; +const _shortDescriptionText = "An open-source, multicoin wallet for everyone"; const _commitHash = "$BUILT_COMMIT_HASH"; const Set _features = { diff --git a/scripts/app_config/configure_stack_wallet.sh b/scripts/app_config/configure_stack_wallet.sh index fb2438182..cb9bbf46c 100755 --- a/scripts/app_config/configure_stack_wallet.sh +++ b/scripts/app_config/configure_stack_wallet.sh @@ -38,6 +38,7 @@ const _prefix = "Stack"; const _separator = " "; const _suffix = "Wallet"; const _appDataDirName = "stackwallet"; +const _shortDescriptionText = "An open-source, multicoin wallet for everyone"; const _commitHash = "$BUILT_COMMIT_HASH"; const Set _features = {