Ux enhancements (#2031)

* Fix dashboard card outline

* Add back wallets menu button

* Disable boxshadow again
This commit is contained in:
tuxsudo
2025-02-15 20:19:48 +03:00
committed by GitHub
parent f98dd7dd7a
commit 420d77c143
3 changed files with 20 additions and 6 deletions
@@ -329,7 +329,7 @@ class BalanceRowWidget extends StatelessWidget {
borderRadius: BorderRadius.circular(30.0),
border: Border.all(
color: Theme.of(context).extension<BalancePageTheme>()!.cardBorderColor,
width: 1,
width: 1.5,
),
color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor,
boxShadow: [
+7 -5
View File
@@ -46,9 +46,10 @@ class DashBoardRoundedCardWidget extends StatelessWidget {
width: double.infinity,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(customBorder ?? 20),
border: Border.all(
color: Theme.of(context).extension<BalancePageTheme>()!.cardBorderColor,
),
// border: Border.all(
// color: Theme.of(context).extension<BalancePageTheme>()!.cardBorderColor,
// width: 1
// ),
// boxShadow: [
// BoxShadow(
// color: Theme.of(context).extension<BalancePageTheme>()!.cardBorderColor
@@ -58,9 +59,10 @@ class DashBoardRoundedCardWidget extends StatelessWidget {
// )
// ],
),
child: TextButton(
child: OutlinedButton(
onPressed: onTap,
style: TextButton.styleFrom(
style: OutlinedButton.styleFrom(
side: BorderSide(width: 1, color: Theme.of(context).extension<BalancePageTheme>()!.cardBorderColor),
backgroundColor:
Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor,
shape: RoundedRectangleBorder(
+12
View File
@@ -17,6 +17,7 @@ class SettingActions {
static List<SettingActions> all = [
connectionSettingAction,
walletSettingAction,
addressBookSettingAction,
silentPaymentsSettingAction,
litecoinMwebSettingAction,
@@ -30,6 +31,7 @@ class SettingActions {
static List<SettingActions> desktopSettings = [
connectionSettingAction,
walletSettingAction,
addressBookSettingAction,
silentPaymentsSettingAction,
securityBackupSettingAction,
@@ -75,6 +77,16 @@ class SettingActions {
},
);
static SettingActions walletSettingAction = SettingActions._(
key: ValueKey('dashboard_page_menu_widget_wallet_menu_button_key'),
name: (context) => S.of(context).wallets,
image: 'assets/images/wallet_menu.png',
onTap: (BuildContext context) {
Navigator.pop(context);
Navigator.of(context).pushNamed(Routes.walletList);
},
);
static SettingActions addressBookSettingAction = SettingActions._(
key: ValueKey('dashboard_page_menu_widget_address_book_button_key'),
name: (context) => S.of(context).address_book_menu,