mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 21:11:52 +01:00
Fix login dialogs not showing the correct title
This commit is contained in:
parent
ed636d5e2f
commit
a87c65872c
@ -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))
|
||||
}
|
||||
|
@ -9,8 +9,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/login_title"
|
||||
android:id="@+id/title"
|
||||
android:id="@+id/dialog_title"
|
||||
android:textStyle="bold"
|
||||
android:textSize="16sp"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
Loading…
Reference in New Issue
Block a user