Removed tabs

This commit is contained in:
Redirion 2019-06-25 13:41:08 +02:00 committed by GitHub
parent 6a4bb6e3e1
commit c4ef40f4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -93,8 +93,8 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
return response.body().string();
} catch (IOException ex) {
// connectivity problems, do not alarm user and fail silently
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
}
return null;
@ -120,8 +120,8 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
} catch (JSONException ex) {
// connectivity problems, do not alarm user and fail silently
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
}
}
}