|
@@ -281,6 +281,7 @@ class LoginActivity : BaseActivity<LoginViewModel, ActivityLoginBinding>() {
|
281
|
281
|
if (!NetworkUtils.isAvailable(this)){
|
282
|
282
|
showTipsDialog(getString(R.string.checknettips))
|
283
|
283
|
}
|
|
284
|
+ regioncode = currentSpUtils.getParam(Const.REGIONCODEKEY, regioncode) as String
|
284
|
285
|
useTimeStrategy()
|
285
|
286
|
}
|
286
|
287
|
|
|
@@ -293,7 +294,6 @@ class LoginActivity : BaseActivity<LoginViewModel, ActivityLoginBinding>() {
|
293
|
294
|
val cancelTv = v.findViewById<TextView>(R.id.dialog_cancel_tv)
|
294
|
295
|
val editText = v.findViewById<EditText>(R.id.dialog_et)
|
295
|
296
|
val titleTv=v.findViewById<TextView>(R.id.dialog_title_tv)
|
296
|
|
- regioncode = currentSpUtils.getParam(Const.REGIONCODEKEY, regioncode) as String
|
297
|
297
|
editText.setText(regioncode)
|
298
|
298
|
enterTv.setOnClickListener {
|
299
|
299
|
dialog.dismiss()
|