readium / r2-testapp-swift

BSD 3-Clause "New" or "Revised" License
146 stars 38 forks source link

Use user-settings-presets on the settings menu #205

Closed iaomw closed 6 years ago

iaomw commented 6 years ago

The user settings preset is a preset of settings which is compatible with the layout of book. The un-compatible settings will be disabled by for different cases.

It's selected when Streamer is trying to parse the book. Then the value is parsed before presenting the settings menu.

Fixed a layout warning when the UI component is hidden. heightConstraint.priority = UILayoutPriority(rawValue: 999)