mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-14 05:21:12 +00:00
Share Sheet: set cursor before shared content
This commit is contained in:
parent
e7bc857231
commit
d8e6e6cfb1
1 changed files with 2 additions and 2 deletions
|
@ -531,8 +531,8 @@ extension StatusEditor {
|
|||
}
|
||||
}
|
||||
if !initialText.isEmpty {
|
||||
statusText = .init(string: initialText)
|
||||
selectedRange = .init(location: statusText.string.utf16.count, length: 0)
|
||||
statusText = .init(string: "\n\n\(initialText)")
|
||||
selectedRange = .init(location: 0, length: 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue