| Index: remoting/ios/app/host_view_controller.mm
|
| diff --git a/remoting/ios/app/host_view_controller.mm b/remoting/ios/app/host_view_controller.mm
|
| index 03d909ca4de603234de90a2c506562246b62adac..b7f45673734c47f9a065edaeefe474bce394425d 100644
|
| --- a/remoting/ios/app/host_view_controller.mm
|
| +++ b/remoting/ios/app/host_view_controller.mm
|
| @@ -98,8 +98,7 @@ static const CGFloat kKeyboardAnimationTime = 0.3;
|
| - (void)viewWillAppear:(BOOL)animated {
|
| [super viewWillAppear:animated];
|
|
|
| - _clientGestures =
|
| - [[ClientGestures alloc] initWithView:self.view client:_client];
|
| + _clientGestures = [[ClientGestures alloc] initWithHostViewController:self];
|
| [[NSNotificationCenter defaultCenter]
|
| addObserver:self
|
| selector:@selector(keyboardWillShow:)
|
| @@ -269,4 +268,10 @@ static const CGFloat kKeyboardAnimationTime = 0.3;
|
| [self presentViewController:alert animated:YES completion:nil];
|
| }
|
|
|
| +#pragma mark properties
|
| +
|
| +- (RemotingClient*)client {
|
| + return _client;
|
| +}
|
| +
|
| @end
|
|
|