mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 14:52:13 -04:00
Fixes of View Notes from all books Switch is always enabled
This commit is contained in:
parent
c49d8d8ac3
commit
38d6335860
@ -39,7 +39,7 @@ class NotesFragment : PageFragment() {
|
|||||||
|
|
||||||
override val noItemsString: String by lazy { getString(R.string.no_notes) }
|
override val noItemsString: String by lazy { getString(R.string.no_notes) }
|
||||||
override val switchString: String by lazy { getString(R.string.notes_from_all_books) }
|
override val switchString: String by lazy { getString(R.string.notes_from_all_books) }
|
||||||
override val switchIsChecked: Boolean = true
|
override val switchIsChecked: Boolean by lazy { sharedPreferenceUtil.showNotesAllBooks }
|
||||||
|
|
||||||
override fun inject(baseActivity: BaseActivity) {
|
override fun inject(baseActivity: BaseActivity) {
|
||||||
baseActivity.cachedComponent.inject(this)
|
baseActivity.cachedComponent.inject(this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user