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>2013-06-02 18:28:54 +0400
committerMikkel Krautz <mikkel@krautz.dk>2013-06-02 18:28:54 +0400
commit879122f8458ccbbb27a88ce170a2ec1fa68bd1e9 (patch)
treebcad8c1b5c075673acb616125af820a8b6a3e3f9
parent2ccdd85a1da117cca9553658ac80ac8a9fa9108c (diff)
MUCertificateViewController: fix toolbar styling.
-rw-r--r--Source/Classes/MUCertificateViewController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Classes/MUCertificateViewController.m b/Source/Classes/MUCertificateViewController.m
index 5361f1b..9cb5319 100644
--- a/Source/Classes/MUCertificateViewController.m
+++ b/Source/Classes/MUCertificateViewController.m
@@ -112,6 +112,8 @@ static const NSUInteger CertificateViewSectionTotal = 4;
if (_allowExportAndDelete) {
UIToolbar *toolbar = [[[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 125, 45)] autorelease];
[toolbar setBarStyle:UIBarStyleBlackOpaque];
+ [toolbar setBackgroundImage:[[[UIImage alloc] init] autorelease] forToolbarPosition:UIToolbarPositionAny barMetrics:UIBarMetricsDefault];
+ [toolbar setBackgroundColor:[UIColor clearColor]];
[toolbar setItems:[NSArray arrayWithObjects:actions, segmentedContainer, nil]];
UIBarButtonItem *toolbarContainer = [[[UIBarButtonItem alloc] initWithCustomView:toolbar] autorelease];