[ios] Fix typo in a private var's name.
Change-Id: Id15176f57b3d3bef7a72d679170fbc49624aaf99 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6333832 Reviewed-by: Robbie Gibson <rkgibson@google.com> Auto-Submit: Huiting Yu <huitingyu@google.com> Commit-Queue: Robbie Gibson <rkgibson@google.com> Cr-Commit-Position: refs/heads/main@{#1429684}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
c30663a1fd
commit
febcc85cc7
@ -10,7 +10,7 @@ struct OverflowMenuView: View {
|
||||
var uiConfiguration: OverflowMenuUIConfiguration
|
||||
|
||||
/// Sync'ed with pref OverflowMenuDestinationList.HighlightedDestinationBounds
|
||||
@State private var highlightedDestinatonBounds: Anchor<CGRect>?
|
||||
@State private var highlightedDestinationBounds: Anchor<CGRect>?
|
||||
|
||||
weak var metricsHandler: PopupMenuMetricsHandler?
|
||||
|
||||
@ -45,11 +45,11 @@ struct OverflowMenuView: View {
|
||||
}
|
||||
.background(Color(.systemGroupedBackground).edgesIgnoringSafeArea(.all))
|
||||
.onPreferenceChange(OverflowMenuDestinationList.HighlightedDestinationBounds.self) { pref in
|
||||
highlightedDestinatonBounds = pref
|
||||
highlightedDestinationBounds = pref
|
||||
}
|
||||
.onGeometryChange(for: CGRect?.self) { proxy in
|
||||
if let highlightedDestinatonBounds = highlightedDestinatonBounds {
|
||||
return proxy[highlightedDestinatonBounds]
|
||||
if let highlightedDestinationBounds = highlightedDestinationBounds {
|
||||
return proxy[highlightedDestinationBounds]
|
||||
}
|
||||
return nil
|
||||
} action: { frame in
|
||||
|
Reference in New Issue
Block a user