mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 14:14:09 +01:00
Share Sheet: set cursor before shared content
This commit is contained in:
parent
e7bc857231
commit
d8e6e6cfb1
@ -531,8 +531,8 @@ extension StatusEditor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !initialText.isEmpty {
|
if !initialText.isEmpty {
|
||||||
statusText = .init(string: initialText)
|
statusText = .init(string: "\n\n\(initialText)")
|
||||||
selectedRange = .init(location: statusText.string.utf16.count, length: 0)
|
selectedRange = .init(location: 0, length: 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user