Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble-iphoneos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2011-06-01 04:51:55 +0400
committerMikkel Krautz <mikkel@krautz.dk>2011-06-01 04:58:23 +0400
commit38c862cb6da427a35a3b16fb59bdbdccc0f91271 (patch)
tree9eae8f98ab6a0ec583e23fbcff8fa3f42fda67c5
parentfa76a8f8b498987edf7b995bc6bd2ca980df895d (diff)
Change ChannelNavigationViewController to look like ServerRootViewController.
-rw-r--r--Resources/icons/ios/channel.pngbin2640 -> 1904 bytes
-rw-r--r--Resources/icons/ios/channel@2x.pngbin5955 -> 4221 bytes
-rw-r--r--Source/Classes/ChannelNavigationViewController.m12
3 files changed, 6 insertions, 6 deletions
diff --git a/Resources/icons/ios/channel.png b/Resources/icons/ios/channel.png
index ccd8ed8..dc14ac5 100644
--- a/Resources/icons/ios/channel.png
+++ b/Resources/icons/ios/channel.png
Binary files differ
diff --git a/Resources/icons/ios/channel@2x.png b/Resources/icons/ios/channel@2x.png
index d7373b2..243da55 100644
--- a/Resources/icons/ios/channel@2x.png
+++ b/Resources/icons/ios/channel@2x.png
Binary files differ
diff --git a/Source/Classes/ChannelNavigationViewController.m b/Source/Classes/ChannelNavigationViewController.m
index abbb54a..2a1a409 100644
--- a/Source/Classes/ChannelNavigationViewController.m
+++ b/Source/Classes/ChannelNavigationViewController.m
@@ -89,7 +89,7 @@
#pragma mark Initialization and lifecycle
- (id) initWithServerModel:(MKServerModel *)serverModel {
- if (self = [super initWithStyle:UITableViewStylePlain]) {
+ if ((self = [super initWithStyle:UITableViewStylePlain])) {
_serverModel = serverModel;
[_serverModel addDelegate:self];
}
@@ -107,7 +107,7 @@
[doneButton release];
self.navigationItem.title = @"Server View";
- self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
+ self.tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
[self rebuildModelArrayFromChannel:[_serverModel rootChannel]];
}
@@ -162,19 +162,19 @@
MKUser *connectedUser = [_serverModel connectedUser];
- cell.textLabel.font = [UIFont systemFontOfSize:14];
+ cell.textLabel.font = [UIFont systemFontOfSize:18];
if ([object class] == [MKChannel class]) {
MKChannel *chan = object;
cell.imageView.image = [UIImage imageNamed:@"channel"];
cell.textLabel.text = [chan channelName];
if (chan == [connectedUser channel])
- cell.textLabel.font = [UIFont boldSystemFontOfSize:14];
+ cell.textLabel.font = [UIFont boldSystemFontOfSize:18];
} else if ([object class] == [MKUser class]) {
MKUser *user = object;
cell.imageView.image = [UIImage imageNamed:@"talking_off"];
cell.textLabel.text = [user userName];
if (user == connectedUser)
- cell.textLabel.font = [UIFont boldSystemFontOfSize:14];
+ cell.textLabel.font = [UIFont boldSystemFontOfSize:18];
}
cell.indentationLevel = [navItem indentLevel];
@@ -196,7 +196,7 @@
}
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
- return 28.0f;
+ return 44.0f;
}
#pragma mark -