MCPcopy Create free account
hub / github.com/CommE2E/comm / getBackupIsNewerThanAppError

Function getBackupIsNewerThanAppError

web/utils/version-utils.js:18–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18function getBackupIsNewerThanAppError(): string {
19 const actionRequestMessage = isDesktopPlatform(
20 getConfig().platformDetails.platform,
21 )
22 ? 'Please reload the app'
23 : 'Please refresh the page';
24 return (
25 'The backup you’re restoring was made with a newer version ' +
26 `of the app. ${actionRequestMessage} in order to proceed.`
27 );
28}
29
30function getShortVersionUnsupportedError(): string {
31 const actionRequestMessage = isDesktopPlatform(

Callers 1

qr-code-utils.jsFile · 0.90

Calls 2

isDesktopPlatformFunction · 0.90
getConfigFunction · 0.90

Tested by

no test coverage detected