소스 검색

correctly cancel text fields when opening the menu (close #13169)

Felix Paul Kühne 10 년 전
부모
커밋
8981534e66
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Sources/VLCDownloadViewController.m
  2. 1 0
      Sources/VLCOpenNetworkStreamViewController.m

+ 1 - 0
Sources/VLCDownloadViewController.m

@@ -105,6 +105,7 @@
 
 - (IBAction)goBack:(id)sender
 {
+    [self.view endEditing:YES];
     [[(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController] toggleSidebar:![(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController].sidebarShowing duration:kGHRevealSidebarDefaultAnimationDuration];
 }
 

+ 1 - 0
Sources/VLCOpenNetworkStreamViewController.m

@@ -140,6 +140,7 @@
 
 - (IBAction)goBack:(id)sender
 {
+    [self.view endEditing:YES];
     [[(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController] toggleSidebar:![(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController].sidebarShowing duration:kGHRevealSidebarDefaultAnimationDuration];
 }