Skip to content

Commit

Permalink
fix(app): add missing color for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Dec 1, 2024
1 parent 89911b7 commit 9578468
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ const PersonSelect = (props: PersonSelectType) => {
<FormControlLabel
value="baptized"
control={<Radio />}
label={t('tr_accountBaptizedBrother')}
label={<Typography>{t('tr_accountBaptizedBrother')}</Typography>}
/>
<FormControlLabel
value="publisher"
control={<Radio />}
label={t('tr_accountPublisherStudent')}
label={<Typography>{t('tr_accountPublisherStudent')}</Typography>}
/>
</RadioGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const AccessCodeChange = ({ open, onClose }: AccessCodeChangeType) => {
autoComplete="off"
value={currentAccessCode}
onChange={(e) => handleCurrentAccessCodeChange(e.target.value)}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
/>

Expand All @@ -52,7 +52,7 @@ const AccessCodeChange = ({ open, onClose }: AccessCodeChangeType) => {
autoComplete="off"
value={newAccessCode}
onChange={(e) => handleNewAccessCodeChange(e.target.value)}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
/>

Expand All @@ -64,7 +64,7 @@ const AccessCodeChange = ({ open, onClose }: AccessCodeChangeType) => {
autoComplete="off"
value={confirmAccessCode}
onChange={(e) => handleConfirmAccessCodeChange(e.target.value)}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const AccessCodeView = () => {
variant="outlined"
autoComplete="off"
value={accessCode}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
slotProps={{ input: { readOnly: true } }}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const MasterKeyChange = ({ open, onClose }: MasterKeyChangeType) => {
autoComplete="off"
value={currentMasterKey}
onChange={(e) => handleCurrentMasterKeyChange(e.target.value)}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
/>

Expand All @@ -52,7 +52,7 @@ const MasterKeyChange = ({ open, onClose }: MasterKeyChangeType) => {
autoComplete="off"
value={newMasterKey}
onChange={(e) => handleNewMasterKeyChange(e.target.value)}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
/>

Expand All @@ -64,7 +64,7 @@ const MasterKeyChange = ({ open, onClose }: MasterKeyChangeType) => {
autoComplete="off"
value={confirmMasterKey}
onChange={(e) => handleConfirmMasterKeyChange(e.target.value)}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const MasterKeyView = () => {
variant="outlined"
autoComplete="off"
value={masterKey}
startIcon={<IconEncryptionKey />}
startIcon={<IconEncryptionKey color="var(--black)" />}
resetHelperPadding={true}
slotProps={{ input: { readOnly: true } }}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/states/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ export const userMembersDelegateState = selector({
get: ({ get }) => {
const settings = get(settingsState);

return settings.user_settings.user_members_delegate;
return settings.user_settings.user_members_delegate || [];
},
});

Expand Down

0 comments on commit 9578468

Please sign in to comment.