You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js/index.js
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -759,12 +759,25 @@ function showScreenshots(appId) {
759
759
760
760
// =========================================== My Apps
761
761
762
-
functionuploadApp(app){
762
+
functionuploadApp(app,options){
763
+
options=options||{};
764
+
if(app.type=="defaultconfig"&&!options.force){
765
+
returnshowPrompt("Default Configuration Install","<b>This will remove all apps and data from your Bangle</b> and will install a new set of apps. Please ensure you have backed up your Bangle first. Continue?",{yes:1,no:1},false)
766
+
.then(()=>showPrompt("Device Erasure","<b>Everything will be deleted from your Bangle.</b> Are you really sure?",{yes:1,no:1},false))
0 commit comments