From d8dfbc362778b82a9face5626c451b43a247b4e9 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 25 Aug 2016 21:33:07 +0200 Subject: [PATCH] remove the Set as wallpaper feature for now, it needs more work --- .../gallery/activities/ViewPagerActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java index 67c75077b..d50eb6d33 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java @@ -138,7 +138,8 @@ public class ViewPagerActivity extends SimpleActivity @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.viewpager_menu, menu); - menu.findItem(R.id.menu_set_as_wallpaper).setVisible(getCurrentMedium().isImage()); + //menu.findItem(R.id.menu_set_as_wallpaper).setVisible(getCurrentMedium().isImage()); + menu.findItem(R.id.menu_set_as_wallpaper).setVisible(false); return true; }