request new data on preference change

This commit is contained in:
AdrianLxM 2018-01-04 12:22:08 +01:00
parent 5270f2cc69
commit 41fb92815b

View file

@ -569,6 +569,10 @@ public abstract class BaseWatchFace extends WatchFace implements SharedPreferen
@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key){
if("delta_granularity".equals(key)){
ListenerService.requestData(this);
}
if(layoutSet){
setDataFields();
setColor();