mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-19 13:08:59 -04:00
Do not show 'open' when app update is available
This commit is contained in:
@@ -20,7 +20,10 @@ public class ButtonRun extends Button {
|
||||
|
||||
@Override
|
||||
protected android.widget.Button getButton() {
|
||||
return (android.widget.Button) activity.findViewById(R.id.run);
|
||||
if(activity.findViewById(R.id.download).getVisibility()==View.VISIBLE)
|
||||
return null;
|
||||
else
|
||||
return (android.widget.Button) activity.findViewById(R.id.run);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user