add short description to app config

This commit is contained in:
julian 2024-06-20 10:36:02 -06:00
parent 57ebacd519
commit cb83fccc68
6 changed files with 6 additions and 2 deletions

View file

@ -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);

View file

@ -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)

View file

@ -208,7 +208,7 @@ class _DesktopLoginViewState extends ConsumerState<DesktopLoginView> {
SizedBox(
width: 350,
child: Text(
"Open source multicoin wallet for everyone",
AppConfig.shortDescriptionText,
textAlign: TextAlign.center,
style: STextStyles.desktopSubtitleH1(context),
),

View file

@ -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<AppFeature> _features = {};

View file

@ -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<AppFeature> _features = {

View file

@ -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<AppFeature> _features = {