mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
FooterOptions moved into ViewOptions; PreferenceActivity does not refer FBReaderApp
This commit is contained in:
parent
15d0fce647
commit
537c004667
4 changed files with 30 additions and 23 deletions
|
@ -57,10 +57,9 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
protected void init(Intent intent) {
|
||||
setResult(FBReader.RESULT_REPAINT);
|
||||
|
||||
final FBReaderApp fbReader = (FBReaderApp)FBReaderApp.Instance();
|
||||
final ViewOptions viewOptions = new ViewOptions();
|
||||
final MiscOptions miscOptions = new MiscOptions();
|
||||
final FooterOptions footerOptions = fbReader.FooterOptions;
|
||||
final FooterOptions footerOptions = viewOptions.getFooterOptions();
|
||||
final PageTurningOptions pageTurningOptions = new PageTurningOptions();
|
||||
final ImageOptions imageOptions = new ImageOptions();
|
||||
final ColorProfile profile = viewOptions.getColorProfile();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue