mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Update set to setPreference
This commit is contained in:
@@ -3649,8 +3649,8 @@ App.launchScreens({
|
||||
});
|
||||
|
||||
// Set PhoneGap/Cordova preferences
|
||||
App.set('BackgroundColor', '0xff0000ff');
|
||||
App.set('HideKeyboardFormAccessoryBar', true);
|
||||
App.setPreference('BackgroundColor', '0xff0000ff');
|
||||
App.setPreference('HideKeyboardFormAccessoryBar', true);
|
||||
|
||||
// Pass preferences for a particular PhoneGap/Cordova plugin
|
||||
App.configurePlugin('com.phonegap.plugins.facebookconnect', {
|
||||
|
||||
@@ -1213,7 +1213,7 @@ var consumeControlFile = function (controlFilePath, cordovaPath) {
|
||||
* @param {String} value The value for that preference.
|
||||
* @memberOf App
|
||||
*/
|
||||
set: function (key, value) {
|
||||
setPreference: function (key, value) {
|
||||
additionalConfiguration[key] = value;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user