This commit is contained in:
ADITYA
2023-07-29 14:09:21 +05:30
parent 374cc95c36
commit 31887bba8b
5 changed files with 8 additions and 3 deletions

View File

@@ -119,16 +119,19 @@ public class ProfileProgressFragment extends Fragment implements ProfileContract
if (patientData.isPatientReminderData == 1) {
binding.medReminderImg.setImageResource(0);
binding.medReminderImg.setBackgroundResource(R.drawable.ic_done);
binding.medReminderImg.setPaddingRelative(15, 15, 15, 15);
}
if (patientData.isPatientMedicalData == 1) {
binding.medInfoImg.setImageResource(0);
binding.medInfoImg.setBackgroundResource(R.drawable.ic_done);
binding.medInfoImg.setPadding(15, 15, 15, 15);
}
if (patientData.isPatientRoutineData == 1) {
binding.setupRoutineImg.setImageResource(0);
binding.setupRoutineImg.setBackgroundResource(R.drawable.ic_done);
binding.setupRoutineImg.setPadding(15, 15, 15, 15);
}
progressDialog.dismiss();

View File

@@ -392,6 +392,7 @@ public class CreateContactFragment extends Fragment implements WelcomeContracts.
if (isSosSet){
binding.sosCheckView.setVisibility(View.GONE);
binding.defaultSos.setVisibility(View.GONE);
if (contactData != null && sos_contact_id != -1 && sos_contact_id == contactData.id){
// current contact being edited is the SOS contact

View File

@@ -67,7 +67,7 @@
android:drawablePadding="10dp"
android:autofillHints="name"
android:inputType="text|none"
android:inputType="text|textCapSentences"
android:maxLines="1"
/>
@@ -217,7 +217,7 @@
android:drawablePadding="10dp"
android:autofillHints="name"
android:inputType="text|none"
android:inputType="text|textCapSentences"
android:maxLines="1"
/>

View File

@@ -328,6 +328,7 @@
<TextView
android:id="@+id/default_sos"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="15dp"

View File

@@ -2,7 +2,7 @@
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/welcome_nav_graph"
app:startDestination="@id/splashFragment">
app:startDestination="@id/profileProgressFragment">
<fragment
android:id="@+id/welcomeFragment"