Skip to content

Commit

Permalink
Display current api key
Browse files Browse the repository at this point in the history
  • Loading branch information
LowSkillDeveloper committed Jan 31, 2024
1 parent 3916d6a commit 0a68823
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ class StartActivity : Activity() {
}
binding.edtLogin.setText(savedLogin)
binding.edtPassword.setText(savedPassword)
val savedApiKey = mSettings.AppSettings!!.getString(Settings.API_READ_KEY, "")
if (savedApiKey != "offline") {
binding.edtApiKey.setText(savedApiKey)
} else {
binding.edtApiKey.setText("")
}
binding.btnGetApiKeys.setOnClickListener {
val dProcess = ProgressDialog(this@StartActivity)
dProcess.setProgressStyle(ProgressDialog.STYLE_SPINNER)
Expand Down

0 comments on commit 0a68823

Please sign in to comment.