From 7f022404d137fd59dac17f610783824034d1782b Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Sat, 7 May 2016 09:29:10 -0700 Subject: [PATCH] [UI] smaller group action menu icon, revert edit divider to neutral color (#1169) * Group actions bar button image was too big Added image inset to resize. // FREEBIE * return blue line to neutral gray. (partial revert of 0c1a97a743defe42ba11b8eb916c85826a4be284) // FREEBIE * Podfile.lock corollary to updating SSL in b7813bdc9a03dc246e1f0e41c9e130af4ba1ac8f // FREEBIE --- Podfile.lock | 6 +++--- Signal/src/view controllers/MessagesViewController.m | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Podfile.lock b/Podfile.lock index e1db5ac98..8538bf805 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -37,7 +37,7 @@ PODS: - Mantle (2.0.6): - Mantle/extobjc (= 2.0.6) - Mantle/extobjc (2.0.6) - - OpenSSL (1.0.207) + - OpenSSL (1.0.208) - PastelogKit (1.3): - CocoaLumberjack (~> 2.0) - ProtocolBuffers (1.9.10) @@ -109,7 +109,7 @@ DEPENDENCIES: - FFCircularProgressView (~> 0.5) - JSQMessagesViewController (from `https://github.com/WhisperSystems/JSQMessagesViewController`, commit `e5582fef8a6b3e35f8070361ef37237222da712b`) - - OpenSSL (~> 1.0.205) + - OpenSSL (~> 1.0.208) - PastelogKit (~> 1.3) - SCWaveformView (~> 1.0) - SignalServiceKit (from `https://github.com/WhisperSystems/SignalServiceKit.git`) @@ -141,7 +141,7 @@ SPEC CHECKSUMS: JSQSystemSoundPlayer: c5850e77a4363ffd374cd851154b9af93264ed8d libPhoneNumber-iOS: ded33fab2c51ee847979556aa504c9e70f32d703 Mantle: 299966b00759634931699f69cb6a30b9239b944d - OpenSSL: 26eb46b2836c0dade24fa53276b552f14c6eece1 + OpenSSL: b187269d386b07452f56af273764ea0636dd5da8 PastelogKit: 7b475be4cf577713506a943dd940bcc0499c8bca ProtocolBuffers: d088180c10072b3d24a9939a6314b7b9bcc2340b SCWaveformView: 52a96750255d817e300565a80c81fb643e233e07 diff --git a/Signal/src/view controllers/MessagesViewController.m b/Signal/src/view controllers/MessagesViewController.m index 84744bb20..9bf9b7af2 100644 --- a/Signal/src/view controllers/MessagesViewController.m +++ b/Signal/src/view controllers/MessagesViewController.m @@ -203,13 +203,6 @@ typedef enum : NSUInteger { self.inputToolbar.contentView.leftBarButtonItem = _attachButton; self.inputToolbar.contentView.rightBarButtonItem = _messageButton; self.inputToolbar.contentView.textView.layer.cornerRadius = 4.f; - - CGFloat one_px = 1.0 / [UIScreen mainScreen].scale; - UIView *line = - [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.inputToolbar.contentView.bounds.size.width, one_px)]; - line.backgroundColor = [UIColor ows_materialBlueColor]; - line.autoresizingMask = UIViewAutoresizingFlexibleWidth; - [self.inputToolbar.contentView addSubview:line]; } - (void)viewWillAppear:(BOOL)animated { @@ -430,6 +423,7 @@ typedef enum : NSUInteger { style:UIBarButtonItemStylePlain target:self action:@selector(didSelectShow:)]; + self.navigationItem.rightBarButtonItem.imageInsets = UIEdgeInsetsMake(10, 20, 10, 0); } [self hideInputIfNeeded];