mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-28 18:09:45 +01:00
bug fix
This commit is contained in:
parent
68ff9313e4
commit
9606014a26
@ -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:
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user