mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 13:53:54 +01:00
Set Wallpaper in background (#5665)
* Worker added for setting up wallpaper * Fix crash * Fix test * Fix test
This commit is contained in:
parent
a7a2125e1d
commit
4c687b4335
5 changed files with 190 additions and 61 deletions
|
|
@ -164,9 +164,7 @@ public class MediaDetailPagerFragment extends CommonsDaggerSupportFragment imple
|
|||
if (savedInstanceState != null) {
|
||||
editable = savedInstanceState.getBoolean("editable", false);
|
||||
isFeaturedImage = savedInstanceState.getBoolean("isFeaturedImage", false);
|
||||
if(null != binding.mediaDetailsPager) {
|
||||
binding.mediaDetailsPager.setCurrentItem(savedInstanceState.getInt("current-page", 0), false);
|
||||
}
|
||||
|
||||
}
|
||||
setHasOptionsMenu(true);
|
||||
initProvider();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue