My Prefix

This commit is contained in:
sneurlax 2024-05-13 13:06:48 -05:00 committed by julian
parent e0b8837c36
commit b1e0e92d5a
7 changed files with 13 additions and 8 deletions

View file

@ -26,6 +26,7 @@ import 'package:stackwallet/utilities/enums/coin_enum.dart';
import 'package:stackwallet/utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.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/background.dart';
import 'package:stackwallet/widgets/conditional_parent.dart';
@ -107,7 +108,7 @@ class _AddressBookViewState extends ConsumerState<AddressBookView> {
);
}
final self = ContactEntry(
name: "My Stack",
name: "My ${WhiteLabel.prefix}",
addresses: addresses,
isFavorite: true,
customId: "default",

View file

@ -30,6 +30,7 @@ import 'package:stackwallet/themes/theme_providers.dart';
import 'package:stackwallet/utilities/assets.dart';
import 'package:stackwallet/utilities/constants.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/background.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart';
@ -202,7 +203,7 @@ class _HomeViewState extends ConsumerState<HomeView> {
width: 16,
),
Text(
"My Stack",
"My ${WhiteLabel.prefix}",
style: STextStyles.navBarTitle(context),
)
],

View file

@ -1,4 +1,4 @@
/*
/*
* This file is part of Stack Wallet.
*
* 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/util.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/desktop/desktop_app_bar.dart';
import 'package:stackwallet/widgets/desktop/desktop_dialog.dart';
@ -139,7 +140,7 @@ class _DesktopAddressBook extends ConsumerState<DesktopAddressBook> {
);
}
final self = ContactEntry(
name: "My Stack",
name: "My ${WhiteLabel.prefix}",
addresses: addresses,
isFavorite: true,
customId: "default",

View file

@ -181,7 +181,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
DesktopMenuItem(
duration: duration,
icon: const DesktopMyStackIcon(),
label: "My Stack",
label: "My ${WhiteLabel.prefix}",
value: DesktopMenuItemId.myStack,
onChanged: updateSelectedMenuItem,
controller: controllers[0],

View file

@ -12,6 +12,7 @@ import 'package:flutter/material.dart';
import 'package:stackwallet/pages_desktop_specific/desktop_home_view.dart';
import 'package:stackwallet/themes/stack_colors.dart';
import 'package:stackwallet/utilities/text_styles.dart';
import 'package:stackwallet/whiteLabel.dart';
class ExitToMyStackButton extends StatelessWidget {
const ExitToMyStackButton({
@ -44,7 +45,7 @@ class ExitToMyStackButton extends StatelessWidget {
horizontal: 30,
),
child: Text(
"Exit to My Stack",
"Exit to My ${WhiteLabel.prefix}",
style: STextStyles.desktopButtonSmallSecondaryEnabled(context),
),
),

View file

@ -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/utilities/text_styles.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/background.dart';
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart';
@ -131,7 +132,7 @@ class _DesktopMyStackTitleState extends ConsumerState<DesktopMyStackTitle> {
width: 12,
),
Text(
"My Stack",
"My ${WhiteLabel.prefix}",
style: STextStyles.desktopH3(context),
)
],

View file

@ -166,7 +166,7 @@ class DesktopAboutView extends ConsumerWidget {
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
oWhiteLabel.appName,
WhiteLabel.appName,
style: STextStyles.desktopH3(context),
textAlign: TextAlign.start,
),