From 02b2ef1183cf85b4055f4281196e9b4f28964dde Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 2 Jul 2025 09:58:49 -0700 Subject: [PATCH] [signalapp/Signal-Desktop#7403] use fromSeconds when setting universalExpireTimer Co-authored-by: odpay --- ts/state/smart/Preferences.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/state/smart/Preferences.tsx b/ts/state/smart/Preferences.tsx index 752de764cc..a9820765b3 100644 --- a/ts/state/smart/Preferences.tsx +++ b/ts/state/smart/Preferences.tsx @@ -202,7 +202,7 @@ export function SmartPreferences(): JSX.Element | null { const universalExpireTimer = universalExpireTimerUtil.getForRedux(items); const onUniversalExpireTimerChange = async (newValue: number) => { - await universalExpireTimerUtil.set(DurationInSeconds.fromMillis(newValue)); + await universalExpireTimerUtil.set(DurationInSeconds.fromSeconds(newValue)); // Update account in Storage Service const account = window.ConversationController.getOurConversationOrThrow();