diff --git a/lib/pages_desktop_specific/home/settings_menu/currency_settings.dart b/lib/pages_desktop_specific/home/settings_menu/currency_settings.dart deleted file mode 100644 index 4327b320b..000000000 --- a/lib/pages_desktop_specific/home/settings_menu/currency_settings.dart +++ /dev/null @@ -1,102 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/src/widgets/framework.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:flutter_svg/svg.dart'; -import 'package:stackwallet/utilities/assets.dart'; -import 'package:stackwallet/utilities/text_styles.dart'; -import 'package:stackwallet/utilities/theme/stack_colors.dart'; -import 'package:stackwallet/widgets/rounded_white_container.dart'; - -class CurrencySettings extends ConsumerStatefulWidget { - const CurrencySettings({Key? key}) : super(key: key); - - static const String routeName = "/settingsMenuCurrency"; - - @override - ConsumerState createState() => _CurrencySettings(); -} - -class _CurrencySettings extends ConsumerState { - @override - Widget build(BuildContext context) { - debugPrint("BUILD: $runtimeType"); - return Column( - children: [ - Padding( - padding: const EdgeInsets.only( - right: 30, - ), - child: RoundedWhiteContainer( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - SvgPicture.asset( - Assets.svg.circleDollarSign, - width: 48, - height: 48, - ), - Center( - child: Padding( - padding: const EdgeInsets.all(10), - child: RichText( - textAlign: TextAlign.start, - text: TextSpan( - children: [ - TextSpan( - text: "Currency", - style: STextStyles.desktopTextSmall(context), - ), - TextSpan( - text: - "\n\nProtect your Stack Wallet with a strong password. Stack Wallet does not store " - "your password, and is therefore NOT able to restore it. Keep your password safe and secure.", - style: - STextStyles.desktopTextExtraExtraSmall(context), - ), - ], - ), - ), - ), - ), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: const [ - Padding( - padding: EdgeInsets.all( - 10, - ), - child: NewPasswordButton(), - ), - ], - ), - ], - ), - ), - ), - ], - ); - } -} - -class NewPasswordButton extends ConsumerWidget { - const NewPasswordButton({ - Key? key, - }) : super(key: key); - @override - Widget build(BuildContext context, WidgetRef ref) { - return SizedBox( - width: 200, - height: 48, - child: TextButton( - style: Theme.of(context) - .extension()! - .getPrimaryEnabledButtonColor(context), - onPressed: () {}, - child: Text( - "Set up new password", - style: STextStyles.button(context), - ), - ), - ); - } -} diff --git a/pubspec.yaml b/pubspec.yaml index b84135f4a..64c678637 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: Stack Wallet # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.5.12+84 +version: 1.5.13+85 environment: sdk: ">=2.17.0 <3.0.0"