diff options
Diffstat (limited to 'app/src/main/java/net/lacolaco/smileessence/command/CommandOpenSearch.java')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/command/CommandOpenSearch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/command/CommandOpenSearch.java b/app/src/main/java/net/lacolaco/smileessence/command/CommandOpenSearch.java index 0877bb55..1f911c82 100644 --- a/app/src/main/java/net/lacolaco/smileessence/command/CommandOpenSearch.java +++ b/app/src/main/java/net/lacolaco/smileessence/command/CommandOpenSearch.java @@ -56,7 +56,7 @@ public class CommandOpenSearch extends Command { @Override public boolean isEnabled() { MainActivity activity = (MainActivity) getActivity(); - return activity.getPageIndexSearch() != MainActivity.PAGE_GONE; + return activity.getPageIndexSearch() != MainActivity.PAGE_INDEX_GONE; } // -------------------------- OTHER METHODS -------------------------- |