|  |  | @ -96,7 +96,7 @@ func getFileCountAndSize(dir string) (int, int64, error) { | 
			
		
	
		
		
			
				
					
					|  |  |  | func (a *App) GetDownloads() string { |  |  |  | func (a *App) GetDownloads() string { | 
			
		
	
		
		
			
				
					
					|  |  |  | 	cnt, size, err := getFileCountAndSize("C:\\Users\\admin\\Downloads") |  |  |  | 	cnt, size, err := getFileCountAndSize("C:\\Users\\admin\\Downloads") | 
			
		
	
		
		
			
				
					
					|  |  |  | 	checkError("getDownloads", err) |  |  |  | 	checkError("getDownloads", err) | 
			
		
	
		
		
			
				
					
					|  |  |  | 	info := fmt.Sprintf("%d(%d Mb)", cnt, size/1024/1024) |  |  |  | 	info := fmt.Sprintf("%d (%d Mb)", cnt, size/1024/1024) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 	return info |  |  |  | 	return info | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -216,5 +216,5 @@ func getCountReady(ctx context.Context, dir string) int { | 
			
		
	
		
		
			
				
					
					|  |  |  | func (a *App) GetStatus() string { |  |  |  | func (a *App) GetStatus() string { | 
			
		
	
		
		
			
				
					
					|  |  |  | 	pics := getCountPics("d:\\pics") |  |  |  | 	pics := getCountPics("d:\\pics") | 
			
		
	
		
		
			
				
					
					|  |  |  | 	ready := getCountReady(a.ctx, "d:\\pics-move") |  |  |  | 	ready := getCountReady(a.ctx, "d:\\pics-move") | 
			
		
	
		
		
			
				
					
					|  |  |  | 	return fmt.Sprintf("%d/%d", pics, ready) |  |  |  | 	return fmt.Sprintf("%d / %d", pics, ready) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |