|
|
@ -91,9 +91,11 @@ class ReadStyleDialog : DialogFragment() { |
|
|
|
curPath = requireContext().getPrefString("readBookFont") |
|
|
|
curPath = requireContext().getPrefString("readBookFont") |
|
|
|
defaultFont = { |
|
|
|
defaultFont = { |
|
|
|
requireContext().putPrefString("readBookFont", "") |
|
|
|
requireContext().putPrefString("readBookFont", "") |
|
|
|
|
|
|
|
postEvent(Bus.UP_CONFIG, true) |
|
|
|
} |
|
|
|
} |
|
|
|
selectFile = { |
|
|
|
selectFile = { |
|
|
|
requireContext().putPrefString("readBookFont", it) |
|
|
|
requireContext().putPrefString("readBookFont", it) |
|
|
|
|
|
|
|
postEvent(Bus.UP_CONFIG, true) |
|
|
|
} |
|
|
|
} |
|
|
|
}.show() |
|
|
|
}.show() |
|
|
|
} |
|
|
|
} |
|
|
|