mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-02-08 23:20:10 +00:00
Removed tabs
This commit is contained in:
parent
6a4bb6e3e1
commit
c4ef40f4dc
@ -93,8 +93,8 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
|
|||||||
return response.body().string();
|
return response.body().string();
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
// connectivity problems, do not alarm user and fail silently
|
// connectivity problems, do not alarm user and fail silently
|
||||||
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
|
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
|
||||||
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
|
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -120,8 +120,8 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
|
|||||||
|
|
||||||
} catch (JSONException ex) {
|
} catch (JSONException ex) {
|
||||||
// connectivity problems, do not alarm user and fail silently
|
// connectivity problems, do not alarm user and fail silently
|
||||||
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
|
if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex));
|
||||||
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
|
Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user