Skip to content

Commit 5357a78

Browse files
committed
chore: cosmetic changes for usersettingsmodal
1 parent 5f41099 commit 5357a78

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

ts/components/dialog/EnterPasswordModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const EnterPasswordModal = (props: EnterPasswordModalProps) => {
7373
buttonChildren={
7474
<ModalActionsContainer buttonType={SessionButtonType.Simple}>
7575
<SessionButton
76-
text={tr('done')}
76+
text={tr('enter')}
7777
buttonType={SessionButtonType.Simple}
7878
onClick={verifyPassword}
7979
dataTestId="session-confirm-ok-button"

ts/components/dialog/user-settings/pages/DefaultSettingsPage.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,11 @@ export const DefaultSettingPage = () => {
407407
onClick={copyAccountIdToClipboard}
408408
/>
409409
}
410-
style={{ color: 'var(--text-primary-color)' }}
410+
style={{
411+
color: 'var(--text-primary-color)',
412+
fontSize: 'var(--font-size-h8)',
413+
lineHeight: 1.1,
414+
}}
411415
onClick={copyAccountIdToClipboard}
412416
/>
413417

ts/state/ducks/modalDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const initialModalState: ModalState = {
135135
groupMembersModal: null,
136136
userProfileModal: null,
137137
nickNameModal: null,
138-
userSettingsModal: { userSettingsPage: 'privacy' },
138+
userSettingsModal: null,
139139
onionPathModal: null,
140140
enterPasswordModal: null,
141141
deleteAccountModal: null,

0 commit comments

Comments
 (0)