diff --git a/app/app.iml b/app/app.iml index a711504..9b0b1cd 100644 --- a/app/app.iml +++ b/app/app.iml @@ -61,13 +61,6 @@ - - - - - - - @@ -75,6 +68,13 @@ + + + + + + + @@ -96,13 +96,6 @@ - - - - - - - @@ -110,6 +103,13 @@ + + + + + + + diff --git a/app/build.gradle b/app/build.gradle index cf4fb7a..3e49c40 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "de.dotwee.micropinner" minSdkVersion 16 targetSdkVersion 23 - versionCode 22 - versionName "v1.9" + versionCode 23 + versionName "v1.9.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/de/dotwee/micropinner/presenter/MainPresenterImpl.java b/app/src/main/java/de/dotwee/micropinner/presenter/MainPresenterImpl.java index 29177bd..02496ca 100644 --- a/app/src/main/java/de/dotwee/micropinner/presenter/MainPresenterImpl.java +++ b/app/src/main/java/de/dotwee/micropinner/presenter/MainPresenterImpl.java @@ -138,10 +138,14 @@ public void onShowActions() { */ @Override public void onViewExpand(boolean expand) { - View view = mainActivity.findViewById(R.id.checkBoxPersistentPin); + int[] expandedIds = new int[]{R.id.checkBoxPersistentPin, R.id.checkBoxShowActions}; - if (view != null) { - view.setVisibility(expand ? View.VISIBLE : View.GONE); + for (int id : expandedIds) { + View view = mainActivity.findViewById(id); + + if (view != null) { + view.setVisibility(expand ? View.VISIBLE : View.GONE); + } } preferencesHandler.setAdvancedUse(expand); diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 92af4d9..ceb9cc9 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -99,4 +99,10 @@ - Pin's notification actions are now optional - Updated german and french translation - Reduced application size to 670kb -- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v1.9/release_v1.9.apk) \ No newline at end of file +- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v1.9/release_v1.9.apk) + +#### [Version: 1.9.1 / 13th March 2016] +- sha1 checksum: c3f172244e132b31174d29668413ba315f396750 +- changes: + - Hide new checkbox when expanded layout is closed +- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v1.9.1/release_v1.9.1.apk) \ No newline at end of file