1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00

sync options: fixes

This commit is contained in:
Nikolay Pultsin 2014-07-27 19:07:45 +01:00
parent d5579cd602
commit 7bb2d1bbe0

View file

@ -73,6 +73,7 @@ public class PreferenceActivity extends ZLPreferenceActivity {
config.requestAllValuesForGroup("Files");
config.requestAllValuesForGroup("Scrolling");
config.requestAllValuesForGroup("Colors");
config.requestAllValuesForGroup("Sync");
setResult(FBReader.RESULT_REPAINT);
final ViewOptions viewOptions = new ViewOptions();
@ -139,8 +140,9 @@ public class PreferenceActivity extends ZLPreferenceActivity {
});
syncPreferences.add(syncScreen.addOption(syncOptions.UploadAllBooks, "uploadAllBooks"));
syncPreferences.add(syncScreen.addOption(syncOptions.Positions, "positions"));
syncPreferences.add(syncScreen.addOption(syncOptions.Metainfo, "metainfo"));
syncPreferences.add(syncScreen.addOption(syncOptions.Bookmarks, "bookmarks"));
//syncPreferences.add(syncScreen.addOption(syncOptions.Metainfo, "metainfo"));
//syncPreferences.add(syncScreen.addOption(syncOptions.Bookmarks, "bookmarks"));
syncPreferences.run();
final Screen appearanceScreen = createPreferenceScreen("appearance");
appearanceScreen.addPreference(new LanguagePreference(