Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Disable vertical paging in reader
Browse files Browse the repository at this point in the history
Google has yet to fix their Webview interop with Compose,
 thus this action must be taken for UX.

#198
  • Loading branch information
Doomsdayrs committed Jul 7, 2022
1 parent 907b2b2 commit 8aa0c38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ sealed class SettingKey<T : Any>(val name: String, val default: T) {
/**
* Instead of vertically moving between chapters, do a horizontal move
*/
object ReaderHorizontalPageSwap : BooleanKey("readerHorizontalPaging", true)
object ReaderHorizontalPageSwap : BooleanKey("readerHorizontalPaging_force", true)

/**
* The reader smoothly moves between chapters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class ChapterReader
item { viewModel.textSizeOption() }
//item { viewModel.tapToScrollOption() }
item { viewModel.volumeScrollingOption() }
item { viewModel.horizontalSwitchOption() }
//item { viewModel.horizontalSwitchOption() }
item { viewModel.invertChapterSwipeOption() }
item { viewModel.readerKeepScreenOnOption() }
item { viewModel.showReaderDivider() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ fun ReaderSettingsContent(
)
}

item {
viewModel.horizontalSwitchOption()
}
//item { viewModel.horizontalSwitchOption() }

item {
ButtonSettingContent(
Expand Down

0 comments on commit 8aa0c38

Please sign in to comment.