From 37d9ed7e3fab365a2983a119f400ec302737b42e Mon Sep 17 00:00:00 2001 From: caneleex Date: Fri, 23 Apr 2021 18:14:23 +0200 Subject: [PATCH] duplicate code is never returned --- app/src/main/java/pl/jakubweg/SponsorBlockUtils.java | 3 --- app/src/main/res/values/strings.xml | 1 - 2 files changed, 4 deletions(-) diff --git a/app/src/main/java/pl/jakubweg/SponsorBlockUtils.java b/app/src/main/java/pl/jakubweg/SponsorBlockUtils.java index 737830a..04ebf0c 100644 --- a/app/src/main/java/pl/jakubweg/SponsorBlockUtils.java +++ b/app/src/main/java/pl/jakubweg/SponsorBlockUtils.java @@ -553,9 +553,6 @@ public abstract class SponsorBlockUtils { case 403: messageToToast = str("vote_failed_forbidden"); break; - case 409: - messageToToast = str("vote_failed_duplicate"); - break; case 200: messageToToast = str("vote_succeeded"); break; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e7ca3cf..a3484f1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -193,7 +193,6 @@ Unable to vote for segment: Status: %d %s Can\'t vote for segment.\nRate Limited (Too many from the same user or IP) Can\'t vote for segment.\nA moderator has decided that this segment is correct - Can\'t vote for segment.\nDuplicate Voted successfully Voting for segment… Upvote