duplicate code is never returned

This commit is contained in:
caneleex 2021-04-23 18:14:23 +02:00
parent 19cbc7c550
commit 37d9ed7e3f
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -193,7 +193,6 @@
<string name="vote_failed_unknown_error" formatted="false">Unable to vote for segment: Status: %d %s</string>
<string name="vote_failed_rate_limit">Can\'t vote for segment.\nRate Limited (Too many from the same user or IP)</string>
<string name="vote_failed_forbidden">Can\'t vote for segment.\nA moderator has decided that this segment is correct</string>
<string name="vote_failed_duplicate">Can\'t vote for segment.\nDuplicate</string>
<string name="vote_succeeded">Voted successfully</string>
<string name="vote_started">Voting for segment…</string>
<string name="vote_upvote">Upvote</string>