Permalink
|
|
@@ -198,9 +198,6 @@ public void run() { |
|
|
}, 350);
|
|
|
}
|
|
|
|
|
|
- if(!BillingProcessor.isIabServiceAvailable(this)) {
|
|
|
- navigationView.getMenu().removeItem(R.id.nav_donate);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
private void loadEverything() {
|
|
|
@@ -302,6 +299,10 @@ private void setupNavigationIcons(NavigationView navigationView) { |
|
|
navigationView.getMenu().findItem(R.id.nav_donate).setIcon(R.drawable.payment_white);
|
|
|
}
|
|
|
|
|
|
+ if(!BillingProcessor.isIabServiceAvailable(this)) {
|
|
|
+ navigationView.getMenu().removeItem(R.id.nav_donate);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
private void updatePosition(final MenuItem menuItem) {
|
|
|
|
|
|
@@ -6,7 +6,7 @@ buildscript { |
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
|
}
|
|
|
dependencies {
|
|
|
- classpath 'com.android.tools.build:gradle:1.5.0'
|
|
|
+ classpath 'com.android.tools.build:gradle:2.1.0'
|
|
|
classpath 'io.fabric.tools:gradle:1.+'
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
0 comments on commit
0cb2c09