mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
add short description to app config
This commit is contained in:
parent
57ebacd519
commit
cb83fccc68
6 changed files with 6 additions and 2 deletions
|
@ -16,6 +16,7 @@ abstract class AppConfig {
|
||||||
static const suffix = _suffix;
|
static const suffix = _suffix;
|
||||||
|
|
||||||
static String get appDefaultDataDirName => _appDataDirName;
|
static String get appDefaultDataDirName => _appDataDirName;
|
||||||
|
static String get shortDescriptionText => _shortDescriptionText;
|
||||||
static String get commitHash => _commitHash;
|
static String get commitHash => _commitHash;
|
||||||
|
|
||||||
static bool hasFeature(AppFeature feature) => _features.contains(feature);
|
static bool hasFeature(AppFeature feature) => _features.contains(feature);
|
||||||
|
|
|
@ -213,7 +213,7 @@ class IntroAboutText extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Text(
|
return Text(
|
||||||
"An open-source, multicoin wallet for everyone",
|
AppConfig.shortDescriptionText,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: !isDesktop
|
style: !isDesktop
|
||||||
? STextStyles.subtitle(context)
|
? STextStyles.subtitle(context)
|
||||||
|
|
|
@ -208,7 +208,7 @@ class _DesktopLoginViewState extends ConsumerState<DesktopLoginView> {
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 350,
|
width: 350,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Open source multicoin wallet for everyone",
|
AppConfig.shortDescriptionText,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: STextStyles.desktopSubtitleH1(context),
|
style: STextStyles.desktopSubtitleH1(context),
|
||||||
),
|
),
|
||||||
|
|
|
@ -44,6 +44,7 @@ const _prefix = "Campfire";
|
||||||
const _separator = "";
|
const _separator = "";
|
||||||
const _suffix = "";
|
const _suffix = "";
|
||||||
const _appDataDirName = "campfire";
|
const _appDataDirName = "campfire";
|
||||||
|
const _shortDescriptionText = "Your privacy. Your wallet. Your Firo.";
|
||||||
const _commitHash = "$BUILT_COMMIT_HASH";
|
const _commitHash = "$BUILT_COMMIT_HASH";
|
||||||
|
|
||||||
const Set<AppFeature> _features = {};
|
const Set<AppFeature> _features = {};
|
||||||
|
|
|
@ -38,6 +38,7 @@ const _prefix = "Stack";
|
||||||
const _separator = " ";
|
const _separator = " ";
|
||||||
const _suffix = "Duo";
|
const _suffix = "Duo";
|
||||||
const _appDataDirName = "stackduo";
|
const _appDataDirName = "stackduo";
|
||||||
|
const _shortDescriptionText = "An open-source, multicoin wallet for everyone";
|
||||||
const _commitHash = "$BUILT_COMMIT_HASH";
|
const _commitHash = "$BUILT_COMMIT_HASH";
|
||||||
|
|
||||||
const Set<AppFeature> _features = {
|
const Set<AppFeature> _features = {
|
||||||
|
|
|
@ -38,6 +38,7 @@ const _prefix = "Stack";
|
||||||
const _separator = " ";
|
const _separator = " ";
|
||||||
const _suffix = "Wallet";
|
const _suffix = "Wallet";
|
||||||
const _appDataDirName = "stackwallet";
|
const _appDataDirName = "stackwallet";
|
||||||
|
const _shortDescriptionText = "An open-source, multicoin wallet for everyone";
|
||||||
const _commitHash = "$BUILT_COMMIT_HASH";
|
const _commitHash = "$BUILT_COMMIT_HASH";
|
||||||
|
|
||||||
const Set<AppFeature> _features = {
|
const Set<AppFeature> _features = {
|
||||||
|
|
Loading…
Reference in a new issue