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:
parent
37390e3eba
commit
2bea3ddf7c
7 changed files with 14 additions and 24 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue