Title: [275306] trunk/Source/WebKit
- Revision
- 275306
- Author
- wenson_hs...@apple.com
- Date
- 2021-03-31 14:45:33 -0700 (Wed, 31 Mar 2021)
Log Message
[iOS] Update a couple of icons in the file upload context menu
https://bugs.webkit.org/show_bug.cgi?id=224013
<rdar://problem/73234218>
Reviewed by Tim Horton.
Use updated symbols for the "Photo Library" and "Take Photo or Video" menu items.
* UIProcess/ios/forms/WKFileUploadPanel.mm:
(-[WKFileUploadPanel contextMenuInteraction:configurationForMenuAtLocation:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (275305 => 275306)
--- trunk/Source/WebKit/ChangeLog 2021-03-31 20:36:11 UTC (rev 275305)
+++ trunk/Source/WebKit/ChangeLog 2021-03-31 21:45:33 UTC (rev 275306)
@@ -1,3 +1,16 @@
+2021-03-31 Wenson Hsieh <wenson_hs...@apple.com>
+
+ [iOS] Update a couple of icons in the file upload context menu
+ https://bugs.webkit.org/show_bug.cgi?id=224013
+ <rdar://problem/73234218>
+
+ Reviewed by Tim Horton.
+
+ Use updated symbols for the "Photo Library" and "Take Photo or Video" menu items.
+
+ * UIProcess/ios/forms/WKFileUploadPanel.mm:
+ (-[WKFileUploadPanel contextMenuInteraction:configurationForMenuAtLocation:]):
+
2021-03-30 Simon Fraser <simon.fra...@apple.com>
Assertions in DisplayUpdate when dragging WebView windows between screens with different refresh rates
Modified: trunk/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm (275305 => 275306)
--- trunk/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm 2021-03-31 20:36:11 UTC (rev 275305)
+++ trunk/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm 2021-03-31 21:45:33 UTC (rev 275306)
@@ -460,7 +460,7 @@
[self showFilePickerMenu];
}];
- UIAction *photoAction = [UIAction actionWithTitle:[strongSelf _photoLibraryButtonLabel] image:[UIImage systemImageNamed:@"rectangle.on.rectangle"] identifier:@"photo" handler:^(__kindof UIAction *action) {
+ UIAction *photoAction = [UIAction actionWithTitle:[strongSelf _photoLibraryButtonLabel] image:[UIImage systemImageNamed:@"photo.on.rectangle"] identifier:@"photo" handler:^(__kindof UIAction *action) {
self->_isPresentingSubMenu = YES;
[self _showPhotoPickerWithSourceType:UIImagePickerControllerSourceTypePhotoLibrary];
}];
@@ -467,7 +467,7 @@
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
NSString *cameraString = [strongSelf _cameraButtonLabel];
- UIAction *cameraAction = [UIAction actionWithTitle:cameraString image:[UIImage systemImageNamed:@"camera.fill"] identifier:@"camera" handler:^(__kindof UIAction *action) {
+ UIAction *cameraAction = [UIAction actionWithTitle:cameraString image:[UIImage systemImageNamed:@"camera"] identifier:@"camera" handler:^(__kindof UIAction *action) {
_usingCamera = YES;
self->_isPresentingSubMenu = YES;
[self _showPhotoPickerWithSourceType:UIImagePickerControllerSourceTypeCamera];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes