Elimination of country code 0 in Delete account
This commit is contained in:
parent
87b00bb156
commit
b8bb2e234b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class DeleteAccountViewModel extends ViewModel {
|
||||||
public DeleteAccountViewModel(@NonNull DeleteAccountRepository repository) {
|
public DeleteAccountViewModel(@NonNull DeleteAccountRepository repository) {
|
||||||
this.repository = repository;
|
this.repository = repository;
|
||||||
this.allCountries = repository.getAllCountries();
|
this.allCountries = repository.getAllCountries();
|
||||||
this.regionCode = new DefaultValueLiveData<>(PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY);
|
this.regionCode = new DefaultValueLiveData<>("ZZ"); // PhoneNumberUtil private static final String UNKNOWN_REGION = "ZZ";
|
||||||
this.nationalNumber = new MutableLiveData<>();
|
this.nationalNumber = new MutableLiveData<>();
|
||||||
this.query = new DefaultValueLiveData<>("");
|
this.query = new DefaultValueLiveData<>("");
|
||||||
this.countryDisplayName = Transformations.map(regionCode, repository::getRegionDisplayName);
|
this.countryDisplayName = Transformations.map(regionCode, repository::getRegionDisplayName);
|
||||||
|
|
Loading…
Add table
Reference in a new issue