Voice message loader & error handling when sending (#1945)

* Add loader & error handling

* Refactor PlainButtonStyle() -> .plain
This commit is contained in:
Alfonso Grillo
2023-10-24 15:20:16 +02:00
committed by GitHub
parent 4c84878f88
commit 8ff1c753a6
9 changed files with 68 additions and 34 deletions
@@ -144,7 +144,7 @@ private struct CreatePollOptionView: View {
.foregroundColor(.compound.iconCriticalPrimary)
}
.disabled(!canDeleteItem)
.buttonStyle(PlainButtonStyle())
.buttonStyle(.plain)
.accessibilityLabel(L10n.actionRemove)
}
TextField(text: $text) {