Various Fixes (#5286)
This commit is contained in:
parent
d331985254
commit
1df44b1e98
@ -132,30 +132,35 @@ const SettingsHeader: FC<OwnProps> = ({
|
||||
case SettingsScreens.PrivacyPhoneCall:
|
||||
return <h3>{oldLang('Calls')}</h3>;
|
||||
|
||||
case SettingsScreens.PrivacyPhoneNumberAllowedContacts:
|
||||
case SettingsScreens.PrivacyLastSeenAllowedContacts:
|
||||
case SettingsScreens.PrivacyProfilePhotoAllowedContacts:
|
||||
case SettingsScreens.PrivacyBioAllowedContacts:
|
||||
case SettingsScreens.PrivacyGroupChatsAllowedContacts:
|
||||
return <h3>{oldLang('AlwaysShareWith')}</h3>;
|
||||
|
||||
case SettingsScreens.PrivacyLastSeenDeniedContacts:
|
||||
case SettingsScreens.PrivacyProfilePhotoDeniedContacts:
|
||||
case SettingsScreens.PrivacyBioDeniedContacts:
|
||||
case SettingsScreens.PrivacyGroupChatsDeniedContacts:
|
||||
return <h3>{oldLang('NeverShareWith')}</h3>;
|
||||
|
||||
case SettingsScreens.PrivacyPhoneNumberAllowedContacts:
|
||||
case SettingsScreens.PrivacyBirthdayAllowedContacts:
|
||||
case SettingsScreens.PrivacyGiftsAllowedContacts:
|
||||
case SettingsScreens.PrivacyForwardingAllowedContacts:
|
||||
case SettingsScreens.PrivacyVoiceMessagesAllowedContacts:
|
||||
case SettingsScreens.PrivacyGroupChatsAllowedContacts:
|
||||
case SettingsScreens.PrivacyPhoneCallAllowedContacts:
|
||||
case SettingsScreens.PrivacyPhoneP2PAllowedContacts:
|
||||
return <h3>{oldLang('AlwaysShareWith')}</h3>;
|
||||
return <h3>{oldLang('AlwaysAllow')}</h3>;
|
||||
|
||||
case SettingsScreens.PrivacyPhoneNumberDeniedContacts:
|
||||
case SettingsScreens.PrivacyLastSeenDeniedContacts:
|
||||
case SettingsScreens.PrivacyProfilePhotoDeniedContacts:
|
||||
case SettingsScreens.PrivacyBioDeniedContacts:
|
||||
case SettingsScreens.PrivacyBirthdayDeniedContacts:
|
||||
case SettingsScreens.PrivacyGiftsDeniedContacts:
|
||||
case SettingsScreens.PrivacyForwardingDeniedContacts:
|
||||
case SettingsScreens.PrivacyVoiceMessagesDeniedContacts:
|
||||
case SettingsScreens.PrivacyGroupChatsDeniedContacts:
|
||||
case SettingsScreens.PrivacyPhoneCallDeniedContacts:
|
||||
case SettingsScreens.PrivacyPhoneP2PDeniedContacts:
|
||||
return <h3>{oldLang('NeverShareWith')}</h3>;
|
||||
return <h3>{oldLang('NeverAllow')}</h3>;
|
||||
|
||||
case SettingsScreens.Performance:
|
||||
return <h3>{oldLang('Animations and Performance')}</h3>;
|
||||
|
||||
@ -85,6 +85,7 @@ const Contact: FC<OwnProps & StateProps> = ({
|
||||
isText
|
||||
color="translucent"
|
||||
ripple
|
||||
size="tiny"
|
||||
onClick={handleOpenChat}
|
||||
className={styles.button}
|
||||
>
|
||||
@ -95,6 +96,7 @@ const Contact: FC<OwnProps & StateProps> = ({
|
||||
isText
|
||||
color="translucent"
|
||||
ripple
|
||||
size="tiny"
|
||||
onClick={handleAddContact}
|
||||
className={styles.button}
|
||||
>
|
||||
|
||||
@ -95,15 +95,29 @@
|
||||
}
|
||||
|
||||
&.two-rows {
|
||||
height: 8rem;
|
||||
height: 7.75rem;
|
||||
}
|
||||
|
||||
&.left-to-right {
|
||||
flex-direction: row;
|
||||
|
||||
.secondary-button {
|
||||
margin-right: 0.25rem !important;
|
||||
}
|
||||
.main-button {
|
||||
margin-left: 0.25rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.right-to-left {
|
||||
flex-direction: row-reverse;
|
||||
|
||||
.secondary-button {
|
||||
margin-left: 0.25rem !important;
|
||||
}
|
||||
.main-button {
|
||||
margin-right: 0.25rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.top-to-bottom,
|
||||
@ -119,9 +133,11 @@
|
||||
&.top-to-bottom {
|
||||
.secondary-button {
|
||||
top: 0rem;
|
||||
margin-bottom: 0.25rem !important;
|
||||
}
|
||||
.main-button {
|
||||
bottom: 0rem;
|
||||
margin-top: 0.25rem !important;
|
||||
}
|
||||
}
|
||||
&.bottom-to-top {
|
||||
|
||||
@ -119,6 +119,7 @@
|
||||
font-size: 0.875rem;
|
||||
line-height: 1rem;
|
||||
color: var(--color-text-secondary);
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -383,6 +383,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.Checkbox {
|
||||
padding-inline-start: 4rem;
|
||||
}
|
||||
|
||||
&.picker-list-item {
|
||||
margin: 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user