.
This commit is contained in:
12
.idea/deploymentTargetDropDown.xml
generated
12
.idea/deploymentTargetDropDown.xml
generated
@@ -1,18 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetDropDown">
|
||||
<targetSelectedWithDropDown>
|
||||
<Target>
|
||||
<type value="QUICK_BOOT_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="VIRTUAL_DEVICE_PATH" />
|
||||
<value value="$USER_HOME$/.android/avd/Pixel_7_Pro_API_33.avd" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</targetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2024-01-04T14:57:20.954289Z" />
|
||||
<targetsSelectedWithDialog>
|
||||
<Target>
|
||||
<type value="QUICK_BOOT_TARGET" />
|
||||
|
||||
@@ -521,7 +521,7 @@ public class CgSubscriptionActivity extends AppCompatActivity
|
||||
|
||||
if (monthly_price == null || yearly_price == null) throw new Exception();
|
||||
|
||||
binding.yearDiscountedPrice.setText(yearly_price);
|
||||
binding.yearDiscountedPrice.setText("$" + yearly_price);
|
||||
binding.monthlyPrice.setText("$" + monthly_price);
|
||||
|
||||
BigDecimal TWELVE = new BigDecimal(12);
|
||||
|
||||
@@ -120,7 +120,7 @@ public class SplashFragment extends Fragment
|
||||
|
||||
binding.newUpdateView.getRoot().setVisibility(View.VISIBLE);
|
||||
|
||||
if (BuildConfig.VERSION_CODE < response.body().result.force_update_version) {
|
||||
if (response.body().result.force_update == 1 && BuildConfig.VERSION_CODE < response.body().result.force_update_version) {
|
||||
// current version is less than forced latest version
|
||||
// update is mandatory
|
||||
binding.newUpdateView.skipBtn.setVisibility(View.GONE);
|
||||
@@ -179,8 +179,10 @@ public class SplashFragment extends Fragment
|
||||
}
|
||||
|
||||
onProfileProgressFetched(response.body().result);
|
||||
} else {
|
||||
} else if (response.code() == 401) {
|
||||
sessionExpired();
|
||||
}else{
|
||||
onProfileProgressFetchFailed(new Exception("Response body is null"), response.message());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -207,8 +209,10 @@ public class SplashFragment extends Fragment
|
||||
}
|
||||
|
||||
onCgDataFetched(response.body().result);
|
||||
} else {
|
||||
} else if (response.code() == 401) {
|
||||
sessionExpired();
|
||||
}else{
|
||||
onCgDataFetchFailed(new Exception("Response body is null"), response.message());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user