mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-31 03:17:19 +01:00
bug fix, cleanup
This commit is contained in:
parent
f61c613eff
commit
e3e273c9de
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -5,7 +5,7 @@
|
||||
<configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
|
||||
</configurations>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
@ -37,7 +37,7 @@ abstract class ErrorHandler {
|
||||
return true;
|
||||
|
||||
case 32:
|
||||
Toast.makeText(c, R.string.authentication_failed, Toast.LENGTH_SHORT).show();
|
||||
Toast.makeText(c, R.string.request_token_error, Toast.LENGTH_SHORT).show();
|
||||
break;
|
||||
|
||||
case 34: //
|
||||
|
@ -35,7 +35,7 @@ import twitter4j.conf.ConfigurationBuilder;
|
||||
public class TwitterEngine {
|
||||
|
||||
private static TwitterEngine mTwitter;
|
||||
private final String TWITTER_CONSUMER_KEY = BuildConfig.API_KEY_1;
|
||||
private final String TWITTER_CONSUMER_KEY = BuildConfig.API_KEY_1 + 1;
|
||||
private final String TWITTER_CONSUMER_SECRET = BuildConfig.API_KEY_2;
|
||||
|
||||
private String redirectionUrl;
|
||||
|
@ -276,6 +276,7 @@ public class UserProfile extends AppCompatActivity implements OnRefreshListener,
|
||||
case R.id.profile_settings:
|
||||
Intent editProfile = new Intent(this, ProfileEdit.class);
|
||||
startActivity(editProfile);
|
||||
mProfile = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,6 @@
|
||||
<string name="status_too_long">Status ist zu lang!</string>
|
||||
<string name="duplicate_status">Tweet wurde schon versendet!</string>
|
||||
<string name="directmessage_too_long">Direktnachricht länge überschritten!</string>
|
||||
<string name="authentication_failed">Authentifikation fehlgeschlagen!</string>
|
||||
<string name="follow_requested">warten auf Bestätigung</string>
|
||||
<string name="loading">lädt..</string>
|
||||
<string name="profile_location">Standort</string>
|
||||
@ -109,4 +108,5 @@
|
||||
<string name="exit_confirm">Änderungen verwerfen?</string>
|
||||
<string name="toggle_answer">Antworten laden</string>
|
||||
<string name="user_data">Nutzerdaten</string>
|
||||
<string name="request_token_error">Request Token abgelaufen, bitte App aktualisieren!</string>
|
||||
</resources>
|
@ -53,7 +53,6 @@
|
||||
<dimen name="tab_div_height">2dp</dimen>
|
||||
<dimen name="tab_div_margin">12dp</dimen>
|
||||
<dimen name="tab_padding_top">5dp</dimen>
|
||||
<dimen name="logo_height">200dp</dimen>
|
||||
|
||||
<!--Text limitation-->
|
||||
<integer name="tweet_max_line">10</integer>
|
||||
|
@ -104,7 +104,6 @@
|
||||
<string name="status_too_long">Tweet needs to be shorter!</string>
|
||||
<string name="duplicate_status">Duplicate Status!</string>
|
||||
<string name="directmessage_too_long">direct message text is over the limit!</string>
|
||||
<string name="authentication_failed">failed to authenticate!</string>
|
||||
<string name="follow_requested">follow requested</string>
|
||||
<string name="loading">loading..</string>
|
||||
<string name="profile_location">location</string>
|
||||
@ -117,5 +116,5 @@
|
||||
<string name="exit_confirm">discard changes?</string>
|
||||
<string name="toggle_answer">Load answer</string>
|
||||
<string name="user_data">User data</string>
|
||||
<string name="logo_descr">Shitter Logo</string>
|
||||
<string name="request_token_error">request token expired! please update app.</string>
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user