diff --git a/app/build.gradle b/app/build.gradle index 1f657e3..7571cbe 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,12 +36,13 @@ android { } } -ext.jabitVersion = '2.0.3' +ext.jabitVersion = '2.0.4' dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:25.0.0' compile 'com.android.support:support-v4:25.0.0' compile 'com.android.support:design:25.0.0' + compile 'com.android.support.constraint:constraint-layout:1.0.0-beta1' compile "ch.dissem.jabit:jabit-core:$jabitVersion" compile "ch.dissem.jabit:jabit-networking:$jabitVersion" @@ -72,7 +73,6 @@ dependencies { testCompile 'junit:junit:4.12' testCompile 'org.mockito:mockito-core:1.10.19' - compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' } idea.module { diff --git a/app/src/main/java/ch/dissem/apps/abit/MainActivity.java b/app/src/main/java/ch/dissem/apps/abit/MainActivity.java index 37c18d3..e49e5a3 100644 --- a/app/src/main/java/ch/dissem/apps/abit/MainActivity.java +++ b/app/src/main/java/ch/dissem/apps/abit/MainActivity.java @@ -452,6 +452,7 @@ public class MainActivity extends AppCompatActivity } else { ((PrimaryDrawerItem) item).withBadge((String) null); } + drawer.updateItem(item); } } }