Fix duplicate clipboard text test

This commit is contained in:
seven332 committed 2018-10-18 22:20:55 +08:00
1 parent 590963024a
commit f2725331fe
1 file changed
+1 -1
@@ -457,7 +457,7 @@ public final class MainActivity extends StageActivity
String text = getTextFromClipboard();
int hashCode = text != null ? text.hashCode() : 0;
if (text != null && hashCode != 0 && mClipTextHashCode != hashCode) {
if (text != null && hashCode != 0 && mClipTextHashCode != hashCode && Settings.getClipboardTextHashCode() != hashCode) {
Pair<Long, String> pair = EhUrl.parseGalleryDetailUrl(text);
if (pair != null) {
long gid = pair.first;