mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +01:00
Send thanks button in more details fragment (#5424)
* Send thanks button in more details fragment * failing test fix * suggested fix
This commit is contained in:
parent
3c1cdf18a1
commit
495d001dc9
5 changed files with 109 additions and 6 deletions
|
|
@ -109,7 +109,7 @@ public class ReviewHelper {
|
|||
* @param filename
|
||||
* @return
|
||||
*/
|
||||
Observable<MwQueryPage.Revision> getFirstRevisionOfFile(String filename) {
|
||||
public Observable<MwQueryPage.Revision> getFirstRevisionOfFile(String filename) {
|
||||
return reviewInterface.getFirstRevisionOfFile(filename)
|
||||
.map(response -> response.query().firstPage().revisions().get(0));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue