mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2025-01-31 02:37:22 +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
|
_text = text
|
||||||
_isEmpty = Binding(
|
_isEmpty = Binding(
|
||||||
get: { text.wrappedValue.string.isEmpty },
|
get: { text.wrappedValue.length <= 0 || text.wrappedValue.string.isEmpty },
|
||||||
set: { _ in }
|
set: { _ in }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user