feat(config): add an option to toggle footbar by tapping on the footbar (#2891)

This commit is contained in:
Huang Xin
2026-01-09 03:22:34 +01:00
committed by GitHub
parent a312080f7c
commit b868146129
31 changed files with 75 additions and 27 deletions
@@ -74,6 +74,8 @@ const ProgressInfoView: React.FC<PageInfoProps> = ({
const [progressInfoMode, setProgressInfoMode] = useState(viewSettings.progressInfoMode);
const cycleProgressInfoModes = () => {
if (!viewSettings.tapToToggleFooter) return;
const hasRemainingInfo = viewSettings.showRemainingTime || viewSettings.showRemainingPages;
const hasProgressInfo = viewSettings.showProgressInfo;
const modeSequence: (typeof progressInfoMode)[] = ['all', 'remaining', 'progress', 'none'];