mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
use readHeight instead on geometry change in the top section of the home screen
This commit is contained in:
@@ -128,7 +128,7 @@ struct HomeScreenContent: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.background(Color.compound.bgCanvasDefault)
|
.background(Color.compound.bgCanvasDefault)
|
||||||
.onGeometryChange(for: CGFloat.self, of: \.size.height) { topSectionHeight = $0 }
|
.readHeight($topSectionHeight)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user