Merge pull request #4801 from Infomaniak/feature/resolve-set-as-wallpaper-issue

Fixing picture "set as wallpaper" issue in properties (duplicate)
This commit is contained in:
Tobias Kaminsky 2019-11-06 13:48:23 +01:00 committed by GitHub
commit 180bdee721
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -468,6 +468,10 @@ public class FileDetailFragment extends FileFragment implements OnClickListener,
containerActivity.getFileOperationsHelper().syncFile(getFile());
return true;
}
case R.id.action_set_as_wallpaper: {
containerActivity.getFileOperationsHelper().setPictureAs(getFile(), getView());
return true;
}
case R.id.action_encrypted: {
// TODO implement or remove
return true;