From 5dc9a94b3356debdbe952f63df595041ace06579 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Thu, 30 Jul 2020 16:13:37 +0200 Subject: [PATCH] fix(ui): Don't use the arrows if there's no submenu. Remove the arrows in ListComponents if the item leads to an immediate action (ie. there's no submenu). --- ts/screens/profile/ProfileMainScreen.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/screens/profile/ProfileMainScreen.tsx b/ts/screens/profile/ProfileMainScreen.tsx index b14bacc6438..a7bfd105ed1 100644 --- a/ts/screens/profile/ProfileMainScreen.tsx +++ b/ts/screens/profile/ProfileMainScreen.tsx @@ -412,6 +412,7 @@ class ProfileMainScreen extends React.PureComponent { title={I18n.t("identification.unlockCode.reset.button_short")} subTitle={I18n.t("identification.unlockCode.reset.tip_short")} onPress={this.confirmResetAlert} + hideIcon={true} /> {/* Logout/Exit */} @@ -419,6 +420,7 @@ class ProfileMainScreen extends React.PureComponent { title={I18n.t("profile.main.logout")} subTitle={I18n.t("profile.logout.menulabel")} onPress={this.onLogoutPress} + hideIcon={true} isLastItem={true} />