From bbffb4ccaf4ae09626acb67b208b5e8328e07cee Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 4 Apr 2021 10:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=A2=E6=BA=90=E6=B7=BB=E5=8A=A0=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E6=A0=A1=E9=AA=8C=E4=BD=9C=E8=80=85=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/changesource/ChangeSourceDialog.kt | 7 +------ app/src/main/res/layout/item_change_source.xml | 6 +++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceDialog.kt b/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceDialog.kt index dafd9a40f..e83118039 100644 --- a/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceDialog.kt @@ -77,12 +77,7 @@ class ChangeSourceDialog : BaseDialogFragment(), private fun showTitle() { binding.toolBar.title = viewModel.name - val author = if (viewModel.author.isBlank()) { - getString(R.string.empty) - } else { - viewModel.author - } - binding.toolBar.subtitle = getString(R.string.author_show, author) + binding.toolBar.subtitle = viewModel.author } private fun initMenu() { diff --git a/app/src/main/res/layout/item_change_source.xml b/app/src/main/res/layout/item_change_source.xml index 28d02caca..b47da7d06 100644 --- a/app/src/main/res/layout/item_change_source.xml +++ b/app/src/main/res/layout/item_change_source.xml @@ -1,10 +1,14 @@ + android:paddingLeft="10dp" + android:paddingTop="10dp" + android:paddingBottom="10dp" + tools:ignore="RtlHardcoded,RtlSymmetry">