From 58ea3f2d0c1a69971d911c869a3b8547244b40cd Mon Sep 17 00:00:00 2001 From: Joshua Blum Date: Fri, 22 May 2026 15:24:05 -0400 Subject: [PATCH] center loading indicator for account switching --- shared/router-v2/account-switcher/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shared/router-v2/account-switcher/index.tsx b/shared/router-v2/account-switcher/index.tsx index 7ed7d926f309..9b1336fcaf85 100644 --- a/shared/router-v2/account-switcher/index.tsx +++ b/shared/router-v2/account-switcher/index.tsx @@ -165,6 +165,7 @@ const AccountRow = (props: AccountRowProps) => { type={Kb.Styles.isMobile ? 'Large' : 'Small'} icon={} firstItem={true} + action={clicked ? : undefined} body={ {props.entry.account.username} @@ -180,7 +181,6 @@ const AccountRow = (props: AccountRowProps) => { )} )} - {clicked && } } onClick={onClick} @@ -212,7 +212,6 @@ const styles = Kb.Styles.styleSheetCreate(() => ({ common: {flexShrink: 1}, isElectron: {wordBreak: 'break-all'}, }), - progressIndicator: {bottom: 0, position: 'absolute', right: 0}, row: { paddingBottom: -Kb.Styles.globalMargins.small, paddingTop: -Kb.Styles.globalMargins.small,