diff options
| author | Teddy Wing | 2012-06-24 03:06:49 -0400 |
|---|---|---|
| committer | Teddy Wing | 2012-06-24 03:06:49 -0400 |
| commit | a15a1e43a97971f5eb3eef909ae45f4f82efb7ed (patch) | |
| tree | 94fcbeee4d65a7fa0607cc5badc4a3b5a3520983 | |
| parent | b476c60611ad4b2ebe2125d8f0595ed6e62b6229 (diff) | |
| download | LikeFeed-a15a1e43a97971f5eb3eef909ae45f4f82efb7ed.tar.bz2 | |
Changed navigation bar colour to reddish.
| -rw-r--r-- | Resources/friendship/ui/ApplicationWindow.js | 1 | ||||
| -rw-r--r-- | Resources/friendship/ui/WebView.js | 1 | ||||
| -rw-r--r-- | Resources/friendship/ui/ui.js | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js index f64f715..aab8262 100644 --- a/Resources/friendship/ui/ApplicationWindow.js +++ b/Resources/friendship/ui/ApplicationWindow.js @@ -11,6 +11,7 @@ refresh_button.addEventListener('click', fs.ui.refreshLikeList); var win = Ti.UI.createWindow({ + barColor: fs.ui.styles.navBarColour, title: 'Sphnx', tabBarHidden: true, leftNavButton: refresh_button diff --git a/Resources/friendship/ui/WebView.js b/Resources/friendship/ui/WebView.js index 6b3ad16..d1c8e50 100644 --- a/Resources/friendship/ui/WebView.js +++ b/Resources/friendship/ui/WebView.js @@ -3,6 +3,7 @@ var options = _args || {} var win = Ti.UI.createWindow({ + barColor: fs.ui.styles.navBarColour, title: (options['title']) ? options['title'] : '', backButtonTitle: 'Back' }); diff --git a/Resources/friendship/ui/ui.js b/Resources/friendship/ui/ui.js index f810b87..501d2f3 100644 --- a/Resources/friendship/ui/ui.js +++ b/Resources/friendship/ui/ui.js @@ -1,5 +1,9 @@ (function() { fs.ui = {}; + + fs.ui.styles = { + navBarColour: '#ac0b24' + }; })(); Ti.include( |
