From b5ba26adcdc953e1b078799feaa7e7c9ba0df5b3 Mon Sep 17 00:00:00 2001 From: Justin Ehrenhofer Date: Mon, 12 Dec 2022 10:07:37 -0600 Subject: [PATCH 1/2] [CW-276] Privacy settings icon, name, and position --- assets/images/2.0x/privacy_menu.png | Bin 0 -> 1324 bytes assets/images/3.0x/privacy_menu.png | Bin 0 -> 1954 bytes assets/images/privacy_menu.png | Bin 0 -> 548 bytes lib/src/screens/dashboard/wallet_menu.dart | 14 +++++++------- 4 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 assets/images/2.0x/privacy_menu.png create mode 100644 assets/images/3.0x/privacy_menu.png create mode 100644 assets/images/privacy_menu.png diff --git a/assets/images/2.0x/privacy_menu.png b/assets/images/2.0x/privacy_menu.png new file mode 100644 index 0000000000000000000000000000000000000000..488fad1cca5a7d5e970e681895733e9bc69af5b9 GIT binary patch literal 1324 zcmV+{1=IS8P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vG`z5oC+z5%H4ViEuV1i?u}K~z{r&6s(N zO=lQ~ueB=FQmyt6(WXL*wDE_Q(nX|-G(xnPTB3?3ni8RvXoDsyLew7oVc({jNKk2~ zr6rW2b|toqtr2SNLKn2pbMCq0+?jjFjB(}uk|*!E-#Op+z32Vj?>*m4xmXIlKW24b z%hv7g%d@{@%dEl?>Ik*q0PM3tG1;$}(a;?}gr7mDdw~&Kh|{g1BG+Y7L4+8rHpX4` z3Jk^x-#n#w))#R(b+8Q>*;}v|CczK%KY=Z^q7J=;@omkQZVb5J_Toez9nm2jdlOtr zH-Zr~_f{~@MQn)`b!ax`U6=~P80e<$ihC|k>-ewOX6~6kN#dC%n75$|)CZlje$9ln zu#2s+SN!K~@vKgm^d|pca6Fgt zG^~O7^xK6^tAs-XG3Lw`I<&Gaq43QujE#eaSnLqEq$Yk^(XS@P;yM7Hfokv{tb%3W z7of;;mJd7nnQ)2Bp~7-`qDxfxcSQJp*5G`64(^E|^=E7!&^hPIbZt(xLX?mahy?LJ=|G4onZ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#Re8Z-!>X~$=c`;)`$ii1dUXl%k*n!B^a58DO2~xYLp0u)fGQM7kUefGFxc02(D7Q~YkVc)r@a|grhPB38>{_2aui>F#FiKaN5_H9K-Eo&dlQyhLqRAW9Px#1ZP1_K>z@;j|==^1poj532;bRa{vG`z5oC+z5%H4ViEuV0l7&;K~y+Tt&~eB zL}37hXRxu-EF=mWks>RF#7at18Vf727&fFlBWgCXAmx#ek%?wup-hB?vQsE!C6r8A z$YV#0$9JylX1v9zuk*j|`5*WG*KRXa=k^z3&Cm<~=fRawX4DXUyHG(f1p=@}_$m~E zu`2~t!-^`VhM>yy5D^xD7K#b52@B8#wg}jQdXn?;9`G}G68}mLD1~w8RD;ea3cmxb zqQNZd)lU(4jfaTw>DVF!LEoAtpHPrqt?{-f>)>@ZKDdAp7^eReSAQO+?@e!c6g0V3 z<<%Kk;(>c?1|C3%o(cy9c%hc^JVZhgRT_r;b(rhQ7tD&-o0WbIN=ORd}`Lnbg m>ksf3{cF&#eqbNVW_to~MWELdBsJs!0000 Navigator.of(context).pushNamed(Routes.addressBook), ), + WalletMenuItem( + title: S.current.privacy_settings, + image: + Image.asset('assets/images/privacy_menu.png', height: 16, width: 16), + handler: () { + Navigator.of(context).pushNamed(Routes.privacyPage); + }), WalletMenuItem( title: S.current.display_settings, image: Image.asset('assets/images/eye_menu.png', From 53e713a10522ae7ac2a68679e13a971fd44df9b7 Mon Sep 17 00:00:00 2001 From: Justin Ehrenhofer Date: Mon, 12 Dec 2022 12:51:28 -0600 Subject: [PATCH 2/2] Move address book above security settings in menu --- lib/src/screens/dashboard/wallet_menu.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/screens/dashboard/wallet_menu.dart b/lib/src/screens/dashboard/wallet_menu.dart index 76f87c485..1638c0bc4 100644 --- a/lib/src/screens/dashboard/wallet_menu.dart +++ b/lib/src/screens/dashboard/wallet_menu.dart @@ -21,6 +21,12 @@ class WalletMenu { height: 16, width: 16), handler: () => Navigator.of(context).pushNamed(Routes.walletList), ), + WalletMenuItem( + title: S.current.address_book_menu, + image: Image.asset('assets/images/open_book_menu.png', + height: 16, width: 16), + handler: () => Navigator.of(context).pushNamed(Routes.addressBook), + ), WalletMenuItem( title: S.current.security_and_backup, image: @@ -28,12 +34,6 @@ class WalletMenu { handler: () { Navigator.of(context).pushNamed(Routes.securityBackupPage); }), - WalletMenuItem( - title: S.current.address_book_menu, - image: Image.asset('assets/images/open_book_menu.png', - height: 16, width: 16), - handler: () => Navigator.of(context).pushNamed(Routes.addressBook), - ), WalletMenuItem( title: S.current.privacy_settings, image: