1
0
Fork 0
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:
Nikolay Pultsin 2013-12-28 17:22:35 +02:00
parent 90c22c10d2
commit f075c5f9cc
4 changed files with 30 additions and 27 deletions

View file

@ -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
);
/*