patches

package
v0.0.0-...-6d37ba2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package patches contains patches for the Lithium EPUB Reader.

Adaptive app icon

Add a monochrome adaptive app icon for Android 13+.

App icon color

Change the app icon color from purple to pale dark blue.

Grid view cover size

Change the grid view cover aspect ratio from 1.33 to 1.5. Expand it to fill the width of a column rather than adding margins to the sides of the grid view (after splitting by the default width).

Cover-only grid

Add an option to only show covers on the grid.

Debuggable webview

Make the reader webview debuggable with chrome://inspect.

Dictionary

Add an offline dictionary to the reader.

Disable animation

Adds an option to disable page turn animation (useful for e-ink devices).

Expand display settings popup

Always expand the display settings popup (don't require scrolling).

Extra fonts

Add additional fonts.

Extra themes

Add additional built-in themes.

Full-bleed reader background

Optionally expand the full-screen reader background into the status bar display cutout area.

Hyphenation

Add an option to enable/disable hyphenation. Previously, hyphenation would be disabled unless the book contained styles to enable it (which is not common).

Invert rotation

Add a toolbar icon to invert the screen rotation.

Smaller font sizes

Allow smaller font sizes to be selected.

More toolbar actions

Always show the search and bookmark toolbar actions regardless of orientation or screen size.

Disable sync

If built with the default keystore, disables the sync functionality since it isn't available unless a signing key is registered with Google APIs.

Add chapter progress and percentage to the reader footer.

Pseudo Material Design 3

Make some components more M3-like, use Material You colors for library on Android 12+.

Series in main drawer

Add a series section to the main drawer.

Series metadata

Add support for parsing and displaying EPUB3 or Calibre series metadata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoSync

func NoSync()

Types

type Build

type Build string

func (Build) Do

func (b Build) Do(apk string, diffwriter io.Writer) error

Directories

Path Synopsis
Package internal contains core patches.
Package internal contains core patches.
Package patchdef contains helpers for patching Android apps.
Package patchdef contains helpers for patching Android apps.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL