mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-06 09:07:19 -04:00
Remove unused function parameter in clay.getSettings()
This commit is contained in:
@@ -210,9 +210,7 @@ Clay.prototype.getSettings = function(response, convert) {
|
|||||||
|
|
||||||
localStorage.setItem('clay-settings', JSON.stringify(settingsStorage));
|
localStorage.setItem('clay-settings', JSON.stringify(settingsStorage));
|
||||||
|
|
||||||
return convert === false ?
|
return convert === false ? settings : Clay.prepareSettingsForAppMessage(settings);
|
||||||
settings :
|
|
||||||
Clay.prepareSettingsForAppMessage(settings, messageKeys);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user