mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
My Prefix
This commit is contained in:
parent
e0b8837c36
commit
b1e0e92d5a
7 changed files with 13 additions and 8 deletions
|
@ -26,6 +26,7 @@ import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||||
import 'package:stackwallet/utilities/text_styles.dart';
|
import 'package:stackwallet/utilities/text_styles.dart';
|
||||||
import 'package:stackwallet/utilities/util.dart';
|
import 'package:stackwallet/utilities/util.dart';
|
||||||
import 'package:stackwallet/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart';
|
import 'package:stackwallet/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart';
|
||||||
|
import 'package:stackwallet/whiteLabel.dart';
|
||||||
import 'package:stackwallet/widgets/address_book_card.dart';
|
import 'package:stackwallet/widgets/address_book_card.dart';
|
||||||
import 'package:stackwallet/widgets/background.dart';
|
import 'package:stackwallet/widgets/background.dart';
|
||||||
import 'package:stackwallet/widgets/conditional_parent.dart';
|
import 'package:stackwallet/widgets/conditional_parent.dart';
|
||||||
|
@ -107,7 +108,7 @@ class _AddressBookViewState extends ConsumerState<AddressBookView> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
final self = ContactEntry(
|
final self = ContactEntry(
|
||||||
name: "My Stack",
|
name: "My ${WhiteLabel.prefix}",
|
||||||
addresses: addresses,
|
addresses: addresses,
|
||||||
isFavorite: true,
|
isFavorite: true,
|
||||||
customId: "default",
|
customId: "default",
|
||||||
|
|
|
@ -30,6 +30,7 @@ import 'package:stackwallet/themes/theme_providers.dart';
|
||||||
import 'package:stackwallet/utilities/assets.dart';
|
import 'package:stackwallet/utilities/assets.dart';
|
||||||
import 'package:stackwallet/utilities/constants.dart';
|
import 'package:stackwallet/utilities/constants.dart';
|
||||||
import 'package:stackwallet/utilities/text_styles.dart';
|
import 'package:stackwallet/utilities/text_styles.dart';
|
||||||
|
import 'package:stackwallet/whiteLabel.dart';
|
||||||
import 'package:stackwallet/widgets/animated_widgets/rotate_icon.dart';
|
import 'package:stackwallet/widgets/animated_widgets/rotate_icon.dart';
|
||||||
import 'package:stackwallet/widgets/background.dart';
|
import 'package:stackwallet/widgets/background.dart';
|
||||||
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart';
|
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart';
|
||||||
|
@ -202,7 +203,7 @@ class _HomeViewState extends ConsumerState<HomeView> {
|
||||||
width: 16,
|
width: 16,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"My Stack",
|
"My ${WhiteLabel.prefix}",
|
||||||
style: STextStyles.navBarTitle(context),
|
style: STextStyles.navBarTitle(context),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Stack Wallet.
|
* This file is part of Stack Wallet.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2023 Cypher Stack
|
* Copyright (c) 2023 Cypher Stack
|
||||||
|
@ -28,6 +28,7 @@ import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||||
import 'package:stackwallet/utilities/text_styles.dart';
|
import 'package:stackwallet/utilities/text_styles.dart';
|
||||||
import 'package:stackwallet/utilities/util.dart';
|
import 'package:stackwallet/utilities/util.dart';
|
||||||
import 'package:stackwallet/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart';
|
import 'package:stackwallet/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart';
|
||||||
|
import 'package:stackwallet/whiteLabel.dart';
|
||||||
import 'package:stackwallet/widgets/address_book_card.dart';
|
import 'package:stackwallet/widgets/address_book_card.dart';
|
||||||
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart';
|
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart';
|
||||||
import 'package:stackwallet/widgets/desktop/desktop_dialog.dart';
|
import 'package:stackwallet/widgets/desktop/desktop_dialog.dart';
|
||||||
|
@ -139,7 +140,7 @@ class _DesktopAddressBook extends ConsumerState<DesktopAddressBook> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
final self = ContactEntry(
|
final self = ContactEntry(
|
||||||
name: "My Stack",
|
name: "My ${WhiteLabel.prefix}",
|
||||||
addresses: addresses,
|
addresses: addresses,
|
||||||
isFavorite: true,
|
isFavorite: true,
|
||||||
customId: "default",
|
customId: "default",
|
||||||
|
|
|
@ -181,7 +181,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
||||||
DesktopMenuItem(
|
DesktopMenuItem(
|
||||||
duration: duration,
|
duration: duration,
|
||||||
icon: const DesktopMyStackIcon(),
|
icon: const DesktopMyStackIcon(),
|
||||||
label: "My Stack",
|
label: "My ${WhiteLabel.prefix}",
|
||||||
value: DesktopMenuItemId.myStack,
|
value: DesktopMenuItemId.myStack,
|
||||||
onChanged: updateSelectedMenuItem,
|
onChanged: updateSelectedMenuItem,
|
||||||
controller: controllers[0],
|
controller: controllers[0],
|
||||||
|
|
|
@ -12,6 +12,7 @@ import 'package:flutter/material.dart';
|
||||||
import 'package:stackwallet/pages_desktop_specific/desktop_home_view.dart';
|
import 'package:stackwallet/pages_desktop_specific/desktop_home_view.dart';
|
||||||
import 'package:stackwallet/themes/stack_colors.dart';
|
import 'package:stackwallet/themes/stack_colors.dart';
|
||||||
import 'package:stackwallet/utilities/text_styles.dart';
|
import 'package:stackwallet/utilities/text_styles.dart';
|
||||||
|
import 'package:stackwallet/whiteLabel.dart';
|
||||||
|
|
||||||
class ExitToMyStackButton extends StatelessWidget {
|
class ExitToMyStackButton extends StatelessWidget {
|
||||||
const ExitToMyStackButton({
|
const ExitToMyStackButton({
|
||||||
|
@ -44,7 +45,7 @@ class ExitToMyStackButton extends StatelessWidget {
|
||||||
horizontal: 30,
|
horizontal: 30,
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
"Exit to My Stack",
|
"Exit to My ${WhiteLabel.prefix}",
|
||||||
style: STextStyles.desktopButtonSmallSecondaryEnabled(context),
|
style: STextStyles.desktopButtonSmallSecondaryEnabled(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -19,6 +19,7 @@ import 'package:stackwallet/pages_desktop_specific/my_stack_view/my_wallets.dart
|
||||||
import 'package:stackwallet/themes/theme_providers.dart';
|
import 'package:stackwallet/themes/theme_providers.dart';
|
||||||
import 'package:stackwallet/utilities/text_styles.dart';
|
import 'package:stackwallet/utilities/text_styles.dart';
|
||||||
import 'package:stackwallet/wallets/isar/providers/all_wallets_info_provider.dart';
|
import 'package:stackwallet/wallets/isar/providers/all_wallets_info_provider.dart';
|
||||||
|
import 'package:stackwallet/whiteLabel.dart';
|
||||||
import 'package:stackwallet/widgets/animated_widgets/rotate_icon.dart';
|
import 'package:stackwallet/widgets/animated_widgets/rotate_icon.dart';
|
||||||
import 'package:stackwallet/widgets/background.dart';
|
import 'package:stackwallet/widgets/background.dart';
|
||||||
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart';
|
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart';
|
||||||
|
@ -131,7 +132,7 @@ class _DesktopMyStackTitleState extends ConsumerState<DesktopMyStackTitle> {
|
||||||
width: 12,
|
width: 12,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"My Stack",
|
"My ${WhiteLabel.prefix}",
|
||||||
style: STextStyles.desktopH3(context),
|
style: STextStyles.desktopH3(context),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
|
@ -166,7 +166,7 @@ class DesktopAboutView extends ConsumerWidget {
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
oWhiteLabel.appName,
|
WhiteLabel.appName,
|
||||||
style: STextStyles.desktopH3(context),
|
style: STextStyles.desktopH3(context),
|
||||||
textAlign: TextAlign.start,
|
textAlign: TextAlign.start,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue