This commit is contained in:
NudeDude 2019-06-23 13:20:14 +02:00
parent 68ff9313e4
commit 9606014a26
5 changed files with 5 additions and 4 deletions

View File

@ -42,7 +42,7 @@ public abstract class ErrorHandler {
case 34: //
case 144: // TWEET not found
Toast.makeText(c, R.string.tweet_not_found, Toast.LENGTH_SHORT).show();
Toast.makeText(c, R.string.not_found, Toast.LENGTH_SHORT).show();
return true;
case 150:

View File

@ -410,6 +410,7 @@ public class GlobalSettings {
* Remove all user content from Shared Preferences
*/
public void logout() {
ourInstance = null;
loggedIn = false;
Editor e = settings.edit();
e.clear();

View File

@ -259,7 +259,7 @@ public class TweetDetail extends AppCompatActivity implements OnClickListener, O
link = link.substring(end + 8);
tweetID = Long.parseLong(link);
} else {
Toast.makeText(this, R.string.tweet_not_found, LENGTH_SHORT).show();
Toast.makeText(this, R.string.not_found, LENGTH_SHORT).show();
Intent intent = new Intent(this, MainActivity.class);
startActivity(intent);
finish();

View File

@ -29,7 +29,7 @@
<string name="error">Fehler!</string>
<string name="tweet_delete">Tweet löschen</string>
<string name="get_tweetlink">Im Browser öffnen</string>
<string name="tweet_not_found">Tweet wurde nicht gefunden</string>
<string name="not_found">night gefunden!</string>
<string name="unfollow">entfolgen</string>
<string name="block">blocken</string>
<string name="unblock">entblocken</string>

View File

@ -37,7 +37,7 @@
<string name="error">Error!</string>
<string name="tweet_delete">Delete</string>
<string name="get_tweetlink">Open in Browser</string>
<string name="tweet_not_found">Tweet not found</string>
<string name="not_found">not found!</string>
<string name="unfollow">unfollow</string>
<string name="unblock">unblock</string>
<string name="followed">followed</string>