diff options
author | David-Development <david-dev@live.de> | 2017-01-30 23:17:34 +0300 |
---|---|---|
committer | David-Development <david-dev@live.de> | 2017-01-30 23:17:34 +0300 |
commit | 95147eeea88874ab140d0d4447fab136d33121a1 (patch) | |
tree | 920a48558eff1b8450e28a1a0c6caa9e86ca58d9 | |
parent | 49b4f1740f93421dbcade7800a099a91ac896aa5 (diff) |
Fix #537
-rw-r--r-- | News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsDetailActivity.java | 7 | ||||
-rw-r--r-- | README.md | 11 |
2 files changed, 11 insertions, 7 deletions
diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsDetailActivity.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsDetailActivity.java index 3749cd6d..167ea1eb 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsDetailActivity.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsDetailActivity.java @@ -282,6 +282,8 @@ public class NewsDetailActivity extends PodcastFragmentActivity { ResumeVideoPlayersOnCurrentPage(); progressIndicator.setProgress(position + 1); + getSupportActionBar().setTitle(rssItems.get(position).getTitle()); + if(!rssItems.get(position).getRead_temp()) { markItemAsReadUnread(rssItems.get(position), true); @@ -290,8 +292,9 @@ public class NewsDetailActivity extends PodcastFragmentActivity { Log.v("PAGE CHANGED", "PAGE: " + position + " - IDFEED: " + rssItems.get(position).getId()); } - else //Only in else because the function markItemAsReas updates the ActionBar items as well - UpdateActionBarIcons(); + else { //Only in else because the function markItemAsReas updates the ActionBar items as well + UpdateActionBarIcons(); + } } @@ -78,10 +78,10 @@ Contributors ================================== * [David Luhmer](https://github.com/David-Development) (Maintainer) * [Daniel Schaal](https://github.com/schaal) -* [otrichet] (https://github.com/otrichet) -* [cemrich] (https://github.com/cemrich) -* [Benjamin Stephan] (https://github.com/b3nson) - +* [otrichet](https://github.com/otrichet) +* [cemrich](https://github.com/cemrich) +* [Benjamin Stephan](https://github.com/b3nson) +* [Stefan Niedermann](https://github.com/stefan-niedermann) Updates ================================== @@ -94,7 +94,8 @@ Updates - Bug fix - <a href="https://github.com/owncloud/News-Android-App/issues/546">#546 Share button has wrong color</a> - Bug fix - <a href="https://github.com/owncloud/News-Android-App/issues/540">#540 Dialog disappears on device rotation</a> - Optimization - <a href="https://github.com/owncloud/News-Android-App/issues/538">#538 Display total number of new items instead of last fetched in the notification</a> -- UI-Update - <a href="https://github.com/owncloud/News-Android-App/pull/542">#542 Nextcloud Theme</a> +- Optimization - <a href="https://github.com/owncloud/News-Android-App/issues/537">#537 display news title instead of "unread articles"</a> +- UI-Update - <a href="https://github.com/owncloud/News-Android-App/pull/542">#542 Nextcloud Theme - Thank you @stefan-niedermann</a> 0.9.9.3 (Google Play) |