File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -840,14 +840,14 @@ function uploadApp(app, options) {
840
840
/** Prompt user and then remove app from the device */
841
841
function removeApp ( app ) {
842
842
return showPrompt ( "Delete" , "Really remove '" + app . name + "'?" )
843
- . then ( startOperation ( { name :"Remove App" } , ( ) => ( ) => getInstalledApps ( ) )
843
+ . then ( ( ) => startOperation ( { name : "Remove App" } , ( ) => getInstalledApps ( )
844
844
. then ( ( ) => Comms . removeApp ( device . appsInstalled . find ( a => a . id === app . id ) ) ) // a = from appid.info, app = from apps.json
845
845
. then ( ( ) => {
846
846
device . appsInstalled = device . appsInstalled . filter ( a => a . id != app . id ) ;
847
847
showToast ( app . name + " removed successfully" , "success" ) ;
848
848
} , err => {
849
849
showToast ( app . name + " removal failed, " + err , "error" ) ;
850
- } ) ) ;
850
+ } ) ) ) ;
851
851
}
852
852
853
853
/** Show window for a new app and finally upload it */
You can’t perform that action at this time.
0 commit comments