We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
VoiceRecordingButton
1 parent 7fef385 commit 9de6de3Copy full SHA for 9de6de3
Sources/StreamChatSwiftUI/ChatChannel/Composer/TrailingComposerView.swift
@@ -38,7 +38,8 @@ public struct TrailingComposerView: View {
38
}
39
40
41
-struct VoiceRecordingButton: View {
+/// The button responsible to start voice recording.
42
+public struct VoiceRecordingButton: View {
43
@Injected(\.colors) var colors
44
@Injected(\.utils) var utils
45
@@ -47,7 +48,7 @@ struct VoiceRecordingButton: View {
47
48
@State private var longPressed = false
49
@State private var longPressStarted: Date?
50
- var body: some View {
51
+ public var body: some View {
52
Image(systemName: "mic")
53
.foregroundColor(Color(colors.textLowEmphasis))
54
.gesture(
0 commit comments