mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Update icons to v3
This commit is contained in:
committed by
Josh Perez
parent
be60b3d225
commit
51d1a62f70
@@ -42,7 +42,7 @@ export function TimerNotification(props: Props): JSX.Element {
|
||||
const { disabled, i18n, title, type } = props;
|
||||
|
||||
let timespan: string;
|
||||
if (props.disabled) {
|
||||
if (disabled) {
|
||||
timespan = ''; // Set to the empty string to satisfy types
|
||||
} else {
|
||||
timespan = expirationTimer.format(i18n, props.expireTimer);
|
||||
@@ -53,7 +53,7 @@ export function TimerNotification(props: Props): JSX.Element {
|
||||
let message: ReactNode;
|
||||
switch (type) {
|
||||
case 'fromOther':
|
||||
message = props.disabled ? (
|
||||
message = disabled ? (
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
id="icu:disabledDisappearingMessages"
|
||||
|
||||
Reference in New Issue
Block a user