Skip to content

Commit 64e202e

Browse files
committed
Restore: Fix Google Drive and iCloud error messages
1 parent 7ba10c3 commit 64e202e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/windows/Welcome/Restore.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export default function Restore({ navigation }: IProps) {
170170
setB64Backup(base64Backup);
171171
setBackupType("google_drive");
172172
} catch (e) {
173-
Alert.alert(`${t("restore.channel.google.alert")}:\n\n${e.message}`);
173+
Alert.alert(`${t("restore.channel.google.alert")}`, e.message);
174174
}
175175
};
176176

@@ -181,7 +181,7 @@ export default function Restore({ navigation }: IProps) {
181181
setB64Backup(base64Backup);
182182
setBackupType("icloud");
183183
} catch (e) {
184-
Alert.alert(`${t("restore.channel.iCloud.alert")}:\n\n${e.message}`);
184+
Alert.alert(`${t("restore.channel.iCloud.alert")}`, e.message);
185185
}
186186
};
187187

0 commit comments

Comments
 (0)