mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
ab376928f6
commit
dff3f3dc9e
@ -108,7 +108,10 @@ class BookInfoActivity :
|
||||
viewModel.loadBookInfo(it, false)
|
||||
}
|
||||
}
|
||||
R.id.menu_copy_url -> viewModel.bookData.value?.bookUrl?.let {
|
||||
R.id.menu_copy_book_url -> viewModel.bookData.value?.bookUrl?.let {
|
||||
sendToClip(it)
|
||||
} ?: toastOnUi(R.string.no_book)
|
||||
R.id.menu_copy_toc_url -> viewModel.bookData.value?.tocUrl?.let {
|
||||
sendToClip(it)
|
||||
} ?: toastOnUi(R.string.no_book)
|
||||
R.id.menu_can_update -> {
|
||||
|
@ -20,8 +20,13 @@
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_copy_url"
|
||||
android:title="@string/copy_url"
|
||||
android:id="@+id/menu_copy_book_url"
|
||||
android:title="@string/copy_book_url"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_copy_toc_url"
|
||||
android:title="@string/copy_toc_url"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
|
@ -776,7 +776,8 @@
|
||||
<string name="style_name">样式名称:</string>
|
||||
<string name="empty_msg_import_book">点击右上角文件夹图标,选择文件夹</string>
|
||||
<string name="scan_folder">智能扫描</string>
|
||||
<string name="copy_url">拷贝URL</string>
|
||||
<string name="copy_book_url">拷贝书籍URL</string>
|
||||
<string name="copy_toc_url">拷贝目录URL</string>
|
||||
<string name="no_book">没有书籍</string>
|
||||
<string name="keep_original_name">保留原名</string>
|
||||
<string name="click_regional_config">点击区域设置</string>
|
||||
|
@ -780,7 +780,8 @@
|
||||
<string name="style_name">樣式名稱:</string>
|
||||
<string name="empty_msg_import_book">點擊右上角資料夾圖示,選擇資料夾</string>
|
||||
<string name="scan_folder">智慧掃描</string>
|
||||
<string name="copy_url">複製URL</string>
|
||||
<string name="copy_book_url">複製書籍URL</string>
|
||||
<string name="copy_toc_url">複製目录URL</string>
|
||||
<string name="no_book">沒有書籍</string>
|
||||
<string name="keep_original_name">保留原名</string>
|
||||
<string name="click_regional_config">點擊區域設定</string>
|
||||
|
@ -780,7 +780,8 @@
|
||||
<string name="style_name">样式名称:</string>
|
||||
<string name="empty_msg_import_book">点击右上角文件夹图标,选择文件夹</string>
|
||||
<string name="scan_folder">智能扫描</string>
|
||||
<string name="copy_url">拷贝URL</string>
|
||||
<string name="copy_book_url">拷贝书籍URL</string>
|
||||
<string name="copy_toc_url">拷贝目录URL</string>
|
||||
<string name="no_book">没有书籍</string>
|
||||
<string name="keep_original_name">保留原名</string>
|
||||
<string name="click_regional_config">点击区域设置</string>
|
||||
|
@ -783,7 +783,8 @@
|
||||
<string name="style_name">样式名称:</string>
|
||||
<string name="empty_msg_import_book">点击右上角文件夹图标,选择文件夹</string>
|
||||
<string name="scan_folder">智能扫描</string>
|
||||
<string name="copy_url">拷贝URL</string>
|
||||
<string name="copy_book_url">拷贝书籍URL</string>
|
||||
<string name="copy_toc_url">拷贝目录URL</string>
|
||||
<string name="no_book">没有书籍</string>
|
||||
<string name="keep_original_name">保留原名</string>
|
||||
<string name="click_regional_config">点击区域设置</string>
|
||||
|
Loading…
Reference in New Issue
Block a user