Bind the margin ratio as a float preference and rename variables

- Fixed the floatListPreference that was used in the SettingsReaderController
- Created new extension for binding float preferences in the ReaderSettingsSheet
- Renamed the ratio variables to include the `webtoon` naming
This commit is contained in:
John Leehey
2019-12-02 14:19:22 -08:00
parent 4014c48c62
commit f14af7cf83
8 changed files with 39 additions and 26 deletions
+2
View File
@@ -233,6 +233,8 @@
<string name="color_filter_a_value">A</string>
<string name="webtoon_margin_ratio_0">No margin</string>
<string name="webtoon_margin_ratio_10">10%</string>
<string name="webtoon_margin_ratio_15">15%</string>
<string name="webtoon_margin_ratio_20">20%</string>
<string name="webtoon_margin_ratio_25">25%</string>