0
0
Fork 0
mirror of https://github.com/YTVanced/Integrations synced 2024-10-31 16:32:39 +00:00

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: case 403:
messageToToast = str("vote_failed_forbidden"); messageToToast = str("vote_failed_forbidden");
break; break;
case 409:
messageToToast = str("vote_failed_duplicate");
break;
case 200: case 200:
messageToToast = str("vote_succeeded"); messageToToast = str("vote_succeeded");
break; 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_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_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_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_succeeded">Voted successfully</string>
<string name="vote_started">Voting for segment…</string> <string name="vote_started">Voting for segment…</string>
<string name="vote_upvote">Upvote</string> <string name="vote_upvote">Upvote</string>