Updated Jabit and fixed the update of the "unread messages" badge

This commit is contained in:
Christian Basler 2016-11-02 07:32:13 +01:00
parent e249c86b79
commit edd1124c32
2 changed files with 3 additions and 2 deletions

View File

@ -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 {

View File

@ -452,6 +452,7 @@ public class MainActivity extends AppCompatActivity
} else {
((PrimaryDrawerItem) item).withBadge((String) null);
}
drawer.updateItem(item);
}
}
}