mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Refactor frame reader API (#2016)
This commit is contained in:
@@ -71,7 +71,7 @@ struct MessageComposer: View {
|
||||
Color.clear
|
||||
.overlay(alignment: .top) {
|
||||
composerView
|
||||
.background(ViewFrameReader(frame: $composerFrame))
|
||||
.readFrame($composerFrame)
|
||||
}
|
||||
.frame(minHeight: ComposerConstant.minHeight, maxHeight: max(composerHeight, composerFrame.height),
|
||||
alignment: .top)
|
||||
|
||||
Reference in New Issue
Block a user