diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ae7d3d..6eedc05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -**1.5.0.3 to 1.5.0.6** +**1.5.0.3 to 1.5.0.7** - Added a drawer for filtering sources and tags. diff --git a/app/build.gradle b/app/build.gradle index 5566121..0d44cdb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,8 +25,8 @@ android { applicationId "apps.amine.bou.readerforselfoss" minSdkVersion 16 targetSdkVersion 25 - versionCode 1506 - versionName "1.5.0.6" + versionCode 1507 + versionName "1.5.0.7" // Enabling multidex support. multiDexEnabled true diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt index d1aebdb..e5f2045 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt @@ -160,6 +160,7 @@ class HomeActivity : AppCompatActivity() { drawer!!.addStickyFooterItem( PrimaryDrawerItem() .withName(R.string.action_about) + .withSelectable(false) .withIcon(R.drawable.ic_info_outline) .withOnDrawerItemClickListener { _, _, _ -> LibsBuilder() @@ -167,7 +168,7 @@ class HomeActivity : AppCompatActivity() { .withAboutIconShown(true) .withAboutVersionShown(true) .start(this@HomeActivity) - true + false }) drawer!!.addStickyFooterItem( PrimaryDrawerItem() @@ -175,7 +176,7 @@ class HomeActivity : AppCompatActivity() { .withIcon(R.drawable.ic_settings) .withOnDrawerItemClickListener { _, _, _ -> startActivityForResult(Intent(this@HomeActivity, SettingsActivity::class.java), MENU_PREFERENCES) - true + false } ) @@ -654,7 +655,10 @@ class HomeActivity : AppCompatActivity() { override fun onActivityResult(req: Int, result: Int, data: Intent?) { when (req) { - MENU_PREFERENCES -> recreate() + MENU_PREFERENCES -> { + drawer!!.closeDrawer() + recreate() + } REQUEST_INVITE -> if (result == Activity.RESULT_OK) { Answers.getInstance().logInvite(InviteEvent()) }