From 8f8d613f6edc90e62cc4a08f78ec18c360e1332c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Mon, 2 Dec 2019 22:10:36 +0100 Subject: [PATCH] [UI] Update libraries & NavLib to fix missing badges on most profiles. --- .../java/pl/szczodrzynski/edziennik/MainActivity.kt | 5 ++++- build.gradle | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt b/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt index 1c286a97..ebbc11fe 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt @@ -804,7 +804,10 @@ class MainActivity : AppCompatActivity() { } } else { setDrawerItems() - drawer.currentProfile = app.profile.id + // the drawer profile is updated automatically when the drawer item is clicked + // update it manually when switching profiles from other source + //if (drawer.currentProfile != app.profile.id) + drawer.currentProfile = app.profile.id loadTarget(drawerSelection, arguments) } } diff --git a/build.gradle b/build.gradle index 4d0befff..4a955ad1 100644 --- a/build.gradle +++ b/build.gradle @@ -22,8 +22,8 @@ buildscript { androidX : '1.0.0', annotation : '1.1.0', - recyclerView : '1.1.0-rc01', - material : '1.2.0-alpha01', + recyclerView : '1.1.0', + material : '1.2.0-alpha02', appcompat : '1.1.0', constraintLayout : '2.0.0-beta3', cardview : '1.0.0', @@ -36,16 +36,16 @@ buildscript { lifecycle : "2.2.0-rc02", work : "2.2.0", - firebase : '17.2.0', + firebase : '17.2.1', firebasemessaging: "20.0.0", play_services : "17.0.0", materialdialogs : "0.9.6.0", materialdrawer : "cad66092a6", - iconics : "4.0.1-b02", + iconics : "4.0.1", font_cmd : "3.5.95.1-kotlin", - navlib : "8ae5e2b87a", + navlib : "8b31921697", gifdrawable : "1.2.15" ]