.
This commit is contained in:
12
.idea/deploymentTargetDropDown.xml
generated
12
.idea/deploymentTargetDropDown.xml
generated
@@ -1,6 +1,18 @@
|
||||
<?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_6_API_27.avd" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</targetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2023-11-03T14:52:56.114890Z" />
|
||||
<targetsSelectedWithDialog>
|
||||
<Target>
|
||||
<type value="QUICK_BOOT_TARGET" />
|
||||
|
||||
@@ -165,27 +165,33 @@ public class ProfileProgressFragment extends Fragment implements ProfileContract
|
||||
return;
|
||||
}
|
||||
|
||||
if (response.body().result.isCaregiverTakeSubscription == 1) {
|
||||
// CG subscribed
|
||||
try {
|
||||
Intent intent = new Intent(requireActivity(), FUAActivity.class);
|
||||
startActivity(intent);
|
||||
} catch (Exception e) {
|
||||
// do nothing
|
||||
}
|
||||
} else {
|
||||
// no subscription alert
|
||||
try {
|
||||
if (response.body().result.isCareGiverConnectedWithPatient == 1) {
|
||||
if (response.body().result.isCaregiverTakeSubscription == 1){
|
||||
try {
|
||||
Intent intent = new Intent(requireActivity(), FUAActivity.class);
|
||||
startActivity(intent);
|
||||
} catch (Exception e) {
|
||||
// do nothing
|
||||
}
|
||||
}else{
|
||||
AppUtil.showAlert(requireContext(),
|
||||
"Caregiver registration",
|
||||
"You can set up this feature after caregiver registration is complete",
|
||||
"Kindly ask Caregiver to subscribe",
|
||||
"Once your caregiver has completed the " +
|
||||
"subscription, you will be able to eet up this " +
|
||||
"feature.",
|
||||
"OK",
|
||||
((dialogInterface, i) -> {
|
||||
|
||||
}), null, null);
|
||||
}catch (Exception e){
|
||||
// do nothing
|
||||
}
|
||||
} else {
|
||||
AppUtil.showAlert(requireContext(),
|
||||
"Kindly ask Caregiver to complete registration",
|
||||
"You can set up this feature after caregiver registration is complete",
|
||||
"OK",
|
||||
((dialogInterface, i) -> {
|
||||
|
||||
}), null, null);
|
||||
}
|
||||
} else {
|
||||
onProfileProgressFetchFailed(new Exception(), "Please try again later.");
|
||||
|
||||
@@ -177,7 +177,7 @@ public class RegisterCompleteFragment extends Fragment implements ProfileContrac
|
||||
gotoPatientDashBoard();
|
||||
}else{
|
||||
AppUtil.showAlert(requireContext(),
|
||||
"Kindly ask Caregiver to buy SimpliTend subscription.",
|
||||
"Kindly ask Caregiver to subscribe",
|
||||
"Once your caregiver has completed the " +
|
||||
"subscription, you will be able to use the " +
|
||||
"application.",
|
||||
|
||||
Reference in New Issue
Block a user