「アプリ設定/見た目/ブックマークボタンを表示する」を追加。なおオフにしてもコンテキストメニューの別アカ操作には残ってます。
This commit is contained in:
parent
988b045b66
commit
7dca01c7a9
|
@ -454,8 +454,12 @@ object Pref {
|
|||
R.id.swAlwaysExpandContextMenuItems
|
||||
)
|
||||
|
||||
|
||||
|
||||
val bpShowBookmarkButton = BooleanPref(
|
||||
"ShowBookmarkButton",
|
||||
false,
|
||||
R.id.swShowBookmarkButton
|
||||
)
|
||||
|
||||
// int
|
||||
|
||||
val ipBackButtonAction = IntPref("back_button_action", 0)
|
||||
|
|
|
@ -200,6 +200,8 @@ internal class StatusButtons(
|
|||
|
||||
// ブックマークボタン
|
||||
when {
|
||||
!Pref.bpShowBookmarkButton(activity.pref) -> vg(btnBookmark,false)
|
||||
|
||||
activity.app_state.isBusyBookmark(access_info, status) -> setButton(
|
||||
btnBookmark,
|
||||
false,
|
||||
|
|
|
@ -700,5 +700,38 @@
|
|||
<View style="@style/setting_divider"/>
|
||||
|
||||
|
||||
<TextView
|
||||
style="@style/setting_row_label"
|
||||
android:text="@string/always_expand_context_menu_sub_items"
|
||||
/>
|
||||
|
||||
<LinearLayout style="@style/setting_row_form">
|
||||
|
||||
<Switch
|
||||
android:id="@+id/swAlwaysExpandContextMenuItems"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
<TextView
|
||||
style="@style/setting_row_label"
|
||||
android:text="@string/show_bookmark_button"
|
||||
/>
|
||||
|
||||
<LinearLayout style="@style/setting_row_form">
|
||||
|
||||
<Switch
|
||||
android:id="@+id/swShowBookmarkButton"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
|
@ -446,21 +446,6 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
<TextView
|
||||
style="@style/setting_row_label"
|
||||
android:text="@string/always_expand_context_menu_sub_items"
|
||||
/>
|
||||
|
||||
<LinearLayout style="@style/setting_row_form">
|
||||
|
||||
<Switch
|
||||
android:id="@+id/swAlwaysExpandContextMenuItems"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
|
|
|
@ -973,5 +973,6 @@
|
|||
<string name="release_notes_updated">更新履歴 (v%1$s→v%2$s)</string>
|
||||
<string name="test">Test</string>
|
||||
<string name="please_help_translation">Please help translation!</string>
|
||||
<string name="show_bookmark_button">ブックマークボタンを表示する (アプリ再起動が必要)</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -967,4 +967,5 @@
|
|||
<string name="release_notes_updated">Release notes (v%1$s→v%2$s)</string>
|
||||
<string name="test">Test</string>
|
||||
<string name="please_help_translation">Please help translation!</string>
|
||||
<string name="show_bookmark_button">Show bookmark button (app restart required)</string>
|
||||
</resources>
|
Loading…
Reference in New Issue