aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/ApplicationWindow.js
diff options
context:
space:
mode:
authorTeddy Wing2012-06-24 12:03:13 -0400
committerTeddy Wing2012-06-24 12:03:13 -0400
commit781e8335694228d86ea11d4844ba29056dea93c7 (patch)
treeea0cf1981d5202c7aef73a28105f96996f7ebafa /Resources/friendship/ui/ApplicationWindow.js
parent90e6928b34d44b9e2d6f64f807af370e85aac985 (diff)
downloadLikeFeed-781e8335694228d86ea11d4844ba29056dea93c7.tar.bz2
Friend list/selector: created it, styled the view.
Diffstat (limited to 'Resources/friendship/ui/ApplicationWindow.js')
-rw-r--r--Resources/friendship/ui/ApplicationWindow.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js
index 8f4835b..b2c174e 100644
--- a/Resources/friendship/ui/ApplicationWindow.js
+++ b/Resources/friendship/ui/ApplicationWindow.js
@@ -10,12 +10,15 @@
});
refresh_button.addEventListener('click', fs.ui.refreshLikeList);
+ var friend_selector_button = fs.ui.friendSelectorButton();
+
var win = Ti.UI.createWindow({
barColor: fs.ui.styles.navBarColour,
title: 'Sphnx',
tabBarHidden: true,
- leftNavButton: refresh_button
+ leftNavButton: refresh_button,
// rightNavButton: login_button
+ rightNavButton: friend_selector_button
});
var loading = fs.ui.createLoadingView();
win.add(loading);