mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-02 23:27:38 -04:00
Change the ClayConfig.getSettings() method to convert data types to be compatible with sendAppMessage
This commit is contained in:
@@ -158,7 +158,7 @@ function ClayConfig(settings, config, $rootContainer, meta) {
|
||||
self.getSettings = function() {
|
||||
_checkBuilt('getSettings');
|
||||
_.eachObj(_itemsByAppKey, function(appKey, item) {
|
||||
_settings[appKey] = item.get();
|
||||
_settings[appKey] = utils.prepareForAppMessage(item.get());
|
||||
});
|
||||
return _settings;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user