mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
more options moved to ViewOptions class
This commit is contained in:
parent
90c22c10d2
commit
f075c5f9cc
4 changed files with 30 additions and 27 deletions
|
@ -374,7 +374,7 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
final String[] scrollBarTypes = {"hide", "show", "showAsProgress", "showAsFooter"};
|
||||
statusLineScreen.addPreference(new ZLChoicePreference(
|
||||
this, statusLineScreen.Resource, "scrollbarType",
|
||||
fbReader.ScrollbarTypeOption, scrollBarTypes
|
||||
viewOptions.ScrollbarType, scrollBarTypes
|
||||
) {
|
||||
@Override
|
||||
protected void onDialogClosed(boolean result) {
|
||||
|
@ -401,7 +401,7 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
footerOptions.Font, false
|
||||
)));
|
||||
footerPreferences.setEnabled(
|
||||
fbReader.ScrollbarTypeOption.getValue() == FBView.SCROLLBAR_SHOW_AS_FOOTER
|
||||
viewOptions.ScrollbarType.getValue() == FBView.SCROLLBAR_SHOW_AS_FOOTER
|
||||
);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue