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) {
840840/** Prompt user and then remove app from the device */ 
841841function  removeApp ( app )  { 
842842  return  showPrompt ( "Delete" , "Really remove '" + app . name + "'?" ) 
843-     . then ( startOperation ( { name :"Remove App" } ,  ( )  =>  ( )   =>   getInstalledApps ( ) ) 
843+     . then ( ( )   =>   startOperation ( {   name :  "Remove App"   } ,  ( )  =>  getInstalledApps ( ) 
844844      . then ( ( ) =>  Comms . removeApp ( device . appsInstalled . find ( a  =>  a . id  ===  app . id ) ) )  // a = from appid.info, app = from apps.json 
845845      . then ( ( ) => { 
846846        device . appsInstalled  =  device . appsInstalled . filter ( a => a . id != app . id ) ; 
847847        showToast ( app . name + " removed successfully" , "success" ) ; 
848848      } ,  err => { 
849849        showToast ( app . name + " removal failed, " + err , "error" ) ; 
850-       } ) ) ; 
850+       } ) ) ) ; 
851851} 
852852
853853/** Show window for a new app and finally upload it */ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments