1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 09:49:19 +02:00

no static ScrollingPreferences instance

This commit is contained in:
Nikolay Pultsin 2013-05-28 03:29:09 +01:00
parent 37390e3eba
commit 2bea3ddf7c
7 changed files with 14 additions and 24 deletions

View file

@ -526,11 +526,11 @@ public class ApiServerImplementation extends ApiInterface.Stub implements Api, A
}
public String getZoneMap() {
return ScrollingPreferences.Instance().TapZoneMapOption.getValue();
return getReader().ScrollingPreferences.TapZoneMapOption.getValue();
}
public void setZoneMap(String name) {
ScrollingPreferences.Instance().TapZoneMapOption.setValue(name);
getReader().ScrollingPreferences.TapZoneMapOption.setValue(name);
}
public int getZoneMapHeight(String name) {