Updated Jabit and fixed the update of the "unread messages" badge
This commit is contained in:
parent
e249c86b79
commit
edd1124c32
@ -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 {
|
||||
|
@ -452,6 +452,7 @@ public class MainActivity extends AppCompatActivity
|
||||
} else {
|
||||
((PrimaryDrawerItem) item).withBadge((String) null);
|
||||
}
|
||||
drawer.updateItem(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user