Fix duplicate clipboard text test
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user