mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 18:47:51 +02:00
Fix login dialogs not showing the correct title
This commit is contained in:
@ -33,7 +33,7 @@ class MangaSyncLoginDialog : LoginDialogPreference() {
|
||||
}
|
||||
|
||||
override fun setCredentialsOnView(view: View) = with(view) {
|
||||
title.text = getString(R.string.login_title, sync.name)
|
||||
dialog_title.text = getString(R.string.login_title, sync.name)
|
||||
username.setText(preferences.getMangaSyncUsername(sync))
|
||||
password.setText(preferences.getMangaSyncPassword(sync))
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ class SourceLoginDialog : LoginDialogPreference() {
|
||||
}
|
||||
|
||||
override fun setCredentialsOnView(view: View) = with(view) {
|
||||
title.text = getString(R.string.login_title, source.visibleName)
|
||||
dialog_title.text = getString(R.string.login_title, source.visibleName)
|
||||
username.setText(preferences.getSourceUsername(source))
|
||||
password.setText(preferences.getSourcePassword(source))
|
||||
}
|
||||
|
Reference in New Issue
Block a user