Commit f79bd774 authored by fallenstardust's avatar fallenstardust

remove toast

parent 9584fd46
...@@ -9,7 +9,7 @@ android { ...@@ -9,7 +9,7 @@ android {
minSdkVersion 21 minSdkVersion 21
//noinspection ExpiredTargetSdkVersion //noinspection ExpiredTargetSdkVersion
targetSdkVersion 29 targetSdkVersion 29
versionCode 311020949 versionCode 311020951
versionName "3.11.2" versionName "3.11.2"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
......
...@@ -193,7 +193,6 @@ public abstract class HomeActivity extends BaseActivity implements BottomNavigat ...@@ -193,7 +193,6 @@ public abstract class HomeActivity extends BaseActivity implements BottomNavigat
case TYPE_GET_VERSION_FAILED: case TYPE_GET_VERSION_FAILED:
++FailedCount; ++FailedCount;
if (FailedCount <= 2) { if (FailedCount <= 2) {
Toast.makeText(getActivity(), R.string.Ask_to_Change_Other_Way, Toast.LENGTH_SHORT).show();
checkUpgrade(URL_HOME_VERSION_ALT); checkUpgrade(URL_HOME_VERSION_ALT);
} else { } else {
Toast.makeText(getContext(), getString(R.string.Checking_Update_Failed) + msg.obj.toString(), Toast.LENGTH_SHORT).show(); Toast.makeText(getContext(), getString(R.string.Checking_Update_Failed) + msg.obj.toString(), Toast.LENGTH_SHORT).show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment