Skip to content

Commit

Permalink
fix: android file.exists property read was broken; file.exists() meth…
Browse files Browse the repository at this point in the history
…od call
  • Loading branch information
nowelium committed Feb 7, 2011
1 parent f45e9d1 commit 3608c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth_adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var OAuthAdapter = function(pConsumerSecret, pConsumerKey, pSignatureMethod)
Ti.API.debug('Loading access token for service [' + pService + '].');

var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, pService + '.config');
if (file.exists == false) {
if (file.exists() == false) {
return;
}

Expand Down

0 comments on commit 3608c54

Please sign in to comment.