Updated Jabit and fixed the update of the "unread messages" badge
This commit is contained in:
		| @@ -36,12 +36,13 @@ android { | |||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| ext.jabitVersion = '2.0.3' | ext.jabitVersion = '2.0.4' | ||||||
| dependencies { | dependencies { | ||||||
|     compile fileTree(dir: 'libs', include: ['*.jar']) |     compile fileTree(dir: 'libs', include: ['*.jar']) | ||||||
|     compile 'com.android.support:appcompat-v7:25.0.0' |     compile 'com.android.support:appcompat-v7:25.0.0' | ||||||
|     compile 'com.android.support:support-v4:25.0.0' |     compile 'com.android.support:support-v4:25.0.0' | ||||||
|     compile 'com.android.support:design: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-core:$jabitVersion" | ||||||
|     compile "ch.dissem.jabit:jabit-networking:$jabitVersion" |     compile "ch.dissem.jabit:jabit-networking:$jabitVersion" | ||||||
| @@ -72,7 +73,6 @@ dependencies { | |||||||
|  |  | ||||||
|     testCompile 'junit:junit:4.12' |     testCompile 'junit:junit:4.12' | ||||||
|     testCompile 'org.mockito:mockito-core:1.10.19' |     testCompile 'org.mockito:mockito-core:1.10.19' | ||||||
|     compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' |  | ||||||
| } | } | ||||||
|  |  | ||||||
| idea.module { | idea.module { | ||||||
|   | |||||||
| @@ -452,6 +452,7 @@ public class MainActivity extends AppCompatActivity | |||||||
|                 } else { |                 } else { | ||||||
|                     ((PrimaryDrawerItem) item).withBadge((String) null); |                     ((PrimaryDrawerItem) item).withBadge((String) null); | ||||||
|                 } |                 } | ||||||
|  |                 drawer.updateItem(item); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user