mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2025-01-30 18:24:55 +01:00
Double condition to make sure
This commit is contained in:
parent
b524188790
commit
ddf4e1f1e3
@ -26,7 +26,7 @@ public struct DynamicTextEditor: View {
|
||||
{
|
||||
_text = text
|
||||
_isEmpty = Binding(
|
||||
get: { text.wrappedValue.string.isEmpty },
|
||||
get: { text.wrappedValue.length <= 0 || text.wrappedValue.string.isEmpty },
|
||||
set: { _ in }
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user