()
| 16 | } |
| 17 | |
| 18 | function 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 | |
| 30 | function getShortVersionUnsupportedError(): string { |
| 31 | const actionRequestMessage = isDesktopPlatform( |
no test coverage detected