code reformat
This commit is contained in:
NudeDude 2018-12-24 20:37:46 +01:00
parent 243e549910
commit ba0fe4cfc9
3 changed files with 6 additions and 6 deletions

View File

@ -32,15 +32,16 @@ android {
} }
dependencies { dependencies {
implementation 'org.twitter4j:twitter4j-core:4.0.7'
implementation 'com.github.QuadFlask:colorpicker:0.0.13'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:exifinterface:28.0.0' implementation 'com.android.support:exifinterface:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:support-vector-drawable:28.0.0' implementation 'com.android.support:support-vector-drawable:28.0.0'
implementation 'com.android.support:design:28.0.0' implementation 'com.android.support:design:28.0.0'
implementation 'org.twitter4j:twitter4j-core:4.0.7'
implementation 'com.github.QuadFlask:colorpicker:0.0.13'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation(name: 'zoomview', ext: 'aar') implementation(name: 'zoomview', ext: 'aar')
implementation(name: 'tagger', ext: 'aar') implementation(name: 'tagger', ext: 'aar')
} }

View File

@ -309,12 +309,12 @@ public class ProfileLoader extends AsyncTask<Long, Long, Long> {
case 50: case 50:
case 63: case 63:
case 136:
Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show(); Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show();
ui.get().finish(); ui.get().finish();
break; break;
case -1: case -1:
case 136:
Toast.makeText(ui.get(), R.string.error_not_specified, Toast.LENGTH_SHORT).show(); Toast.makeText(ui.get(), R.string.error_not_specified, Toast.LENGTH_SHORT).show();
break; break;

View File

@ -234,8 +234,6 @@ public class StatusLoader extends AsyncTask<Long, Void, Long> {
} else if (mode == ERROR) { } else if (mode == ERROR) {
switch (returnCode) { switch (returnCode) {
case 136:
break;
case 420: case 420:
Toast.makeText(ui.get(), R.string.rate_limit_exceeded, Toast.LENGTH_SHORT).show(); Toast.makeText(ui.get(), R.string.rate_limit_exceeded, Toast.LENGTH_SHORT).show();
@ -250,6 +248,7 @@ public class StatusLoader extends AsyncTask<Long, Void, Long> {
case 50: case 50:
case 63: case 63:
case 136:
Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show(); Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show();
ui.get().finish(); ui.get().finish();
break; break;