Reinitialize redux after importing a backup

This commit is contained in:
Scott Nonnenberg
2024-08-27 00:26:21 +10:00
committed by GitHub
parent 19e0eb4444
commit abdef4847a
21 changed files with 437 additions and 264 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import { strictAssert } from '../util/assert';
let callsHistoryData: ReadonlyArray<CallHistoryDetails>;
let callsHistoryUnreadCount: number;
export async function loadCallsHistory(): Promise<void> {
export async function loadCallHistory(): Promise<void> {
await DataWriter.cleanupCallHistoryMessages();
callsHistoryData = await DataReader.getAllCallHistory();
callsHistoryUnreadCount = await DataReader.getCallHistoryUnreadCount();