mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Voice message record button hapitcs (#2013)
* Move tooltip logics in VoiceMessageRecordingButton * Add hapitc feedback when recording a voice message * Cleanup
This commit is contained in:
@@ -42,3 +42,9 @@ struct ViewFrameReader: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension View {
|
||||
func readFrame(_ frame: Binding<CGRect>, in coordinateSpace: CoordinateSpace = .local) -> some View {
|
||||
background(ViewFrameReader(frame: frame, coordinateSpace: coordinateSpace))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user