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