Skip to content

Commit

Permalink
android: Restart app after doing channel.db import selection
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Jun 25, 2024
1 parent 1ff9630 commit 7824102
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/windows/Welcome/Restore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ export default function Restore({ navigation }: IProps) {
Alert.alert(
"Success",
"Blixt Wallet needs to be restarted in order to continue with the restore procedure. Close Blixt Wallet now and start it up again.",
[
{
style: "default",
text: t("buttons.ok", { ns: namespaces.common }),
onPress: async () => {
NativeModules.LndMobileTools.restartApp();
},
},
],
);
return;
}
Expand Down

0 comments on commit 7824102

Please sign in to comment.