|
66 | 66 | @ViewBuilder message: (Value) -> M
|
67 | 67 | ) -> some View {
|
68 | 68 | self.confirmationDialog(
|
69 |
| - value.wrappedValue.map(title) ?? Text(""), |
| 69 | + value.wrappedValue.map(title) ?? Text(verbatim: ""), |
70 | 70 | isPresented: value.isPresent(),
|
71 | 71 | titleVisibility: titleVisibility,
|
72 | 72 | presenting: value.wrappedValue,
|
|
130 | 130 | action handler: @escaping (Value?) -> Void = { (_: Never?) in }
|
131 | 131 | ) -> some View {
|
132 | 132 | self.confirmationDialog(
|
133 |
| - value.wrappedValue.flatMap { Text($0.title) } ?? Text(""), |
| 133 | + value.wrappedValue.flatMap { Text($0.title) } ?? Text(verbatim: ""), |
134 | 134 | isPresented: value.isPresent(),
|
135 | 135 | titleVisibility: value.wrappedValue.map { .init($0.titleVisibility) } ?? .automatic,
|
136 | 136 | presenting: value.wrappedValue,
|
|
164 | 164 | action handler: @escaping (Value?) async -> Void = { (_: Never?) async in }
|
165 | 165 | ) -> some View {
|
166 | 166 | self.confirmationDialog(
|
167 |
| - value.wrappedValue.flatMap { Text($0.title) } ?? Text(""), |
| 167 | + value.wrappedValue.flatMap { Text($0.title) } ?? Text(verbatim: ""), |
168 | 168 | isPresented: value.isPresent(),
|
169 | 169 | titleVisibility: value.wrappedValue.map { .init($0.titleVisibility) } ?? .automatic,
|
170 | 170 | presenting: value.wrappedValue,
|
|
240 | 240 | action handler: @escaping (Value?) -> Void
|
241 | 241 | ) -> some View {
|
242 | 242 | self.confirmationDialog(
|
243 |
| - value.wrappedValue.flatMap { Text($0.title) } ?? Text(""), |
| 243 | + value.wrappedValue.flatMap { Text($0.title) } ?? Text(verbatim: ""), |
244 | 244 | isPresented: value.isPresent(),
|
245 | 245 | titleVisibility: value.wrappedValue.map { .init($0.titleVisibility) } ?? .automatic,
|
246 | 246 | presenting: value.wrappedValue,
|
|
259 | 259 | action handler: @escaping (Value?) async -> Void
|
260 | 260 | ) -> some View {
|
261 | 261 | self.confirmationDialog(
|
262 |
| - value.wrappedValue.flatMap { Text($0.title) } ?? Text(""), |
| 262 | + value.wrappedValue.flatMap { Text($0.title) } ?? Text(verbatim: ""), |
263 | 263 | isPresented: value.isPresent(),
|
264 | 264 | titleVisibility: value.wrappedValue.map { .init($0.titleVisibility) } ?? .automatic,
|
265 | 265 | presenting: value.wrappedValue,
|
|
0 commit comments