3. small fixes

This commit is contained in:
vadym 2020-07-06 09:54:03 -07:00
parent 0826a65d68
commit 298bfce372

View File

@ -97,8 +97,7 @@ class DNSListActivity : AppCompatActivity() {
this.resources.configuration.locale.country this.resources.configuration.locale.country
} }
var ccp = view.findViewById<com.hbb20.CountryCodePicker>(R.id.ccp) view.findViewById<com.hbb20.CountryCodePicker>(R.id.ccp).setCountryForNameCode(countryCode)
ccp.setCountryForNameCode(countryCode)
val ab: AlertDialog.Builder = AlertDialog.Builder(this) val ab: AlertDialog.Builder = AlertDialog.Builder(this)
ab.setCancelable(true).setView(view) ab.setCancelable(true).setView(view)
var ad = ab.show() var ad = ab.show()