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