do not disable update button because of antifeatures
This testing at the wrong point, namely in the app details where you are already looking at the antifeatures which might be present. In the list view there's an additional direct check with isDisabledByAntiFeatures() anyway. Fix fdroid/fdroidclient#1845
This commit is contained in:
		
							parent
							
								
									bc36e92731
								
							
						
					
					
						commit
						03600c347c
					
				@ -1051,7 +1051,7 @@ public class App extends ValueObject implements Comparable<App>, Parcelable {
 | 
			
		||||
        boolean canUpdate = hasUpdates();
 | 
			
		||||
        AppPrefs prefs = getPrefs(context);
 | 
			
		||||
        boolean wantsUpdate = !prefs.ignoreAllUpdates && prefs.ignoreThisUpdate < autoInstallVersionCode;
 | 
			
		||||
        return canUpdate && wantsUpdate && !isDisabledByAntiFeatures();
 | 
			
		||||
        return canUpdate && wantsUpdate;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user