Always visible arrows, new remote config
This commit is contained in:
parent
381e53297b
commit
ec94cc182a
3 changed files with 10 additions and 8 deletions
|
@ -114,13 +114,6 @@
|
|||
|
||||
width: 18px;
|
||||
height: var(--height);
|
||||
|
||||
opacity: 0;
|
||||
transition: opacity 200ms ease-in-out;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&__prev {
|
||||
|
|
|
@ -31,6 +31,7 @@ export type ConfigKeyType =
|
|||
| 'desktop.pnp'
|
||||
| 'desktop.retryRespondMaxAge'
|
||||
| 'desktop.safetyNumberAci'
|
||||
| 'desktop.safetyNumberAci.beta'
|
||||
| 'desktop.senderKey.retry'
|
||||
| 'desktop.senderKey.send'
|
||||
| 'desktop.senderKeyMaxAge'
|
||||
|
|
|
@ -166,7 +166,15 @@ export const getSafetyNumberMode = createSelector(
|
|||
serverTimeSkew: number,
|
||||
now: number
|
||||
): SafetyNumberMode => {
|
||||
if (!isRemoteConfigFlagEnabled(remoteConfig, 'desktop.safetyNumberAci')) {
|
||||
if (
|
||||
!isRemoteConfigFlagEnabled(remoteConfig, 'desktop.safetyNumberAci') &&
|
||||
!(
|
||||
isRemoteConfigFlagEnabled(
|
||||
remoteConfig,
|
||||
'desktop.safetyNumberAci.beta'
|
||||
) && isBeta(window.getVersion())
|
||||
)
|
||||
) {
|
||||
return SafetyNumberMode.E164;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue