style slack tv, fixes #206

This commit is contained in:
Ryan Nystrom
2017-07-31 08:29:51 -06:00
parent 66aa656a1a
commit 25c6dfaf50
3 changed files with 5 additions and 2 deletions

View File

@@ -78,7 +78,10 @@ IssueNeckLoadSectionControllerDelegate {
// override default SLKTextViewController values
isInverted = false
textView.placeholder = NSLocalizedString("Leave a comment", comment: "")
textView.placeholderColor = Styles.Colors.Gray.light.color
textView.keyboardType = .default
textView.layer.borderColor = Styles.Colors.Gray.border.color.cgColor
textInputbar.backgroundColor = Styles.Colors.Gray.lighter.color
rightButton.setTitle(NSLocalizedString("Send", comment: ""), for: .normal)
rightButton.setTitleColor(Styles.Colors.Blue.medium.color, for: .normal)

View File

@@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1170</string>
<string>1174</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>

View File

@@ -146,7 +146,7 @@ NSString * const SLKTextInputbarDidMoveNotification = @"SLKTextInputbarDidMove
_textView.scrollIndicatorInsets = UIEdgeInsetsMake(0.0, -1.0, 0.0, 1.0);
_textView.textContainerInset = UIEdgeInsetsMake(8.0, 4.0, 8.0, 0.0);
_textView.layer.cornerRadius = 5.0;
_textView.layer.borderWidth = 0.5;
_textView.layer.borderWidth = 1 / [UIScreen mainScreen].scale;
_textView.layer.borderColor = [UIColor colorWithRed:200.0/255.0 green:200.0/255.0 blue:205.0/255.0 alpha:1.0].CGColor;
}
return _textView;