Auto retrieve otp message code, fix bug

This commit is contained in:
Nezumi
2023-03-19 11:53:16 +07:00
parent 9a67682bef
commit 30b4e9338c
6 changed files with 166 additions and 12 deletions
@@ -135,5 +135,12 @@ public class ProfileFragment extends Fragment {
//Update user name on textview
user_name.setText(Common.CURRENT_USER.getFullName());
//Set image for user
if(Common.CURRENT_USER.getImageUrl().isEmpty()){
profile_avatar.setImageResource(R.drawable.profile_avatar);
} else {
Picasso.get().load(Common.CURRENT_USER.getImageUrl()).into(profile_avatar);
}
}
}