diff options
author | Vitaly Takmazov | 2018-04-08 16:36:46 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-08 16:36:46 +0300 |
commit | 6f8855ce3b83cc50583b62b4a1960c27fdf66bb3 (patch) | |
tree | 8e9fb3078a5b7cfcbb7ff2c4ab3a6f725306bee9 /Juick/ViewControllers | |
parent | a18e9ee9a3dc8b7f8ed3074893eac788bc234903 (diff) |
QuoteView
Diffstat (limited to 'Juick/ViewControllers')
-rw-r--r-- | Juick/ViewControllers/NewPostViewController.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Juick/ViewControllers/NewPostViewController.m b/Juick/ViewControllers/NewPostViewController.m index 81121ec..3e2d17e 100644 --- a/Juick/ViewControllers/NewPostViewController.m +++ b/Juick/ViewControllers/NewPostViewController.m @@ -9,7 +9,7 @@ #import "NewPostViewController.h" #import "MessagesViewController.h" #import "ColorScheme.h" -#import "MessageInputView.h" +#import "QuoteView.h" #import "APIClient.h" @interface NewPostViewController () @@ -29,7 +29,7 @@ self.paddingValue = self.bottomConstraint.constant; [self.view setBackgroundColor:[ColorScheme mainBackground]]; if (_replyTo != nil) { - MessageInputView *inputView = (MessageInputView *) self.inputAccessoryView; + QuoteView *inputView = (QuoteView *) self.inputAccessoryView; inputView.quoteText.text = _replyTo.text; self.title = [NSString stringWithFormat:@"Reply to %@", _replyTo.user.uname]; } else { @@ -73,7 +73,7 @@ - (UIView *) inputAccessoryView { if (!_inputAccessoryView) { - MessageInputView *inputView = (MessageInputView *)[[[NSBundle mainBundle] loadNibNamed:@"MessageInputView" owner:self options:nil] firstObject]; + QuoteView *inputView = (QuoteView *)[[[NSBundle mainBundle] loadNibNamed:@"QuoteView" owner:self options:nil] firstObject]; inputView.autoresizingMask = UIViewAutoresizingFlexibleHeight; inputView.quoteText.text = self.replyTo.text; _inputAccessoryView = inputView; |