request new data on preference change
This commit is contained in:
parent
5270f2cc69
commit
41fb92815b
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue