Dbrant has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371045 )

Change subject: Correctly update page model state after querying reading list 
DAO.
......................................................................

Correctly update page model state after querying reading list DAO.

Bug: T172999
Change-Id: I3c1f99de3934bcf0869926aec2b370414eb10f15
---
M app/src/main/java/org/wikipedia/page/PageFragment.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/45/371045/1

diff --git a/app/src/main/java/org/wikipedia/page/PageFragment.java 
b/app/src/main/java/org/wikipedia/page/PageFragment.java
index eb17502..4b3773c 100755
--- a/app/src/main/java/org/wikipedia/page/PageFragment.java
+++ b/app/src/main/java/org/wikipedia/page/PageFragment.java
@@ -700,6 +700,7 @@
                         if (!isAdded()) {
                             return;
                         }
+                        model.setReadingListPage(page);
                         pageActionTabsCallback.updateBookmark(page != null);
                     }
                 });

-- 
To view, visit https://gerrit.wikimedia.org/r/371045
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c1f99de3934bcf0869926aec2b370414eb10f15
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Dbrant <dbr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to