更新界面
This commit is contained in:
1 parent
cd4caed170
commit
3908ff7cf2
76 files changed
+1586
-1393
No files matched your search
@@ -159,12 +159,19 @@ object AppConfig : SharedPreferences.OnSharedPreferenceChangeListener {
|
||||
appCtx.putPrefInt(PreferKey.bookGroupStyle, value)
|
||||
}
|
||||
|
||||
var bookshelfLayout: Int
|
||||
get() = appCtx.getPrefInt(PreferKey.bookshelfLayout, 0)
|
||||
var bookshelfLayoutPortrait: Int
|
||||
get() = appCtx.getPrefInt(PreferKey.bookshelfLayoutPortrait, 3)
|
||||
set(value) {
|
||||
appCtx.putPrefInt(PreferKey.bookshelfLayout, value)
|
||||
appCtx.putPrefInt(PreferKey.bookshelfLayoutPortrait, value)
|
||||
}
|
||||
|
||||
var bookshelfLayoutLandscape: Int
|
||||
get() = appCtx.getPrefInt(PreferKey.bookshelfLayoutLandscape, 5)
|
||||
set(value) {
|
||||
appCtx.putPrefInt(PreferKey.bookshelfLayoutLandscape, value)
|
||||
}
|
||||
|
||||
|
||||
var saveTabPosition: Int
|
||||
get() = appCtx.getPrefInt(PreferKey.saveTabPosition, 0)
|
||||
set(value) {
|
||||
|
||||
Reference in new issue
Block a user