ui: align live level row with mic picker
This commit is contained in:
@@ -2178,12 +2178,16 @@ struct VoiceWakeSettings: View {
|
|||||||
|
|
||||||
private var levelMeter: some View {
|
private var levelMeter: some View {
|
||||||
VStack(alignment: .leading, spacing: 6) {
|
VStack(alignment: .leading, spacing: 6) {
|
||||||
HStack(spacing: 10) {
|
LabeledContent {
|
||||||
Text("Live level").font(.callout.weight(.semibold))
|
HStack(spacing: 10) {
|
||||||
MicLevelBar(level: self.meterLevel)
|
MicLevelBar(level: self.meterLevel)
|
||||||
Text(self.levelLabel)
|
Text(self.levelLabel)
|
||||||
.font(.caption.monospacedDigit())
|
.font(.callout.monospacedDigit())
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
|
}
|
||||||
|
} label: {
|
||||||
|
Text("Live level")
|
||||||
|
.font(.callout.weight(.semibold))
|
||||||
}
|
}
|
||||||
if let meterError {
|
if let meterError {
|
||||||
Text(meterError)
|
Text(meterError)
|
||||||
|
|||||||
Reference in New Issue
Block a user