From c4ef40f4dc65ca26c5b3fb99283b4839ab52db3d Mon Sep 17 00:00:00 2001 From: Redirion Date: Tue, 25 Jun 2019 13:41:08 +0200 Subject: [PATCH] Removed tabs --- .../org/schabi/newpipe/CheckForNewAppVersionTask.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java b/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java index 09c44cad4..12bf0d778 100644 --- a/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java +++ b/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java @@ -93,8 +93,8 @@ public class CheckForNewAppVersionTask extends AsyncTask { 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 { } 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(); } } }