white label patches

drywall, mud
This commit is contained in:
sneurlax 2024-05-13 13:14:10 -05:00
parent 0247f21a9f
commit 56ea4b89be
2 changed files with 4 additions and 3 deletions

View file

@ -73,6 +73,7 @@ import 'package:stackwallet/utilities/prefs.dart';
import 'package:stackwallet/utilities/stack_file_system.dart';
import 'package:stackwallet/utilities/util.dart';
import 'package:stackwallet/wallets/isar/providers/all_wallets_info_provider.dart';
import 'package:stackwallet/whiteLabel.dart';
import 'package:stackwallet/widgets/crypto_notifications.dart';
import 'package:window_size/window_size.dart';
@ -102,7 +103,7 @@ void main(List<String> args) async {
}
if (Util.isDesktop && !Platform.isIOS) {
setWindowTitle('Stack Wallet');
setWindowTitle(WhiteLabel.appName);
setWindowMinSize(const Size(1220, 100));
setWindowMaxSize(Size.infinite);
@ -617,7 +618,7 @@ class _MaterialAppWithThemeState extends ConsumerState<MaterialAppWithTheme>
return MaterialApp(
key: GlobalKey(),
navigatorKey: navigatorKey,
title: 'Stack Wallet',
title: WhiteLabel.appName,
onGenerateRoute: RouteGenerator.generateRoute,
theme: ThemeData(
extensions: [colorScheme],

View file

@ -247,7 +247,7 @@ class PrivacyAndTOSText extends StatelessWidget {
text: TextSpan(
style: STextStyles.label(context).copyWith(fontSize: fontSize),
children: [
const TextSpan(text: "By using Stack Wallet, you agree to the "),
TextSpan(text: "By using ${WhiteLabel.appName}, you agree to the "),
TextSpan(
text: "Terms of service",
style: STextStyles.richLink(context).copyWith(fontSize: fontSize),