damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 39dce641316edccb9db3ac4a9de0b55d6be6e35f
parent b556257edde474ebf67db161c83e457bde6f03de
Author: cr0bar <cr0bar@users.noreply.github.com>
Date:   Wed,  2 Aug 2023 22:26:30 +0100

Fix for missing bottom half of a note

Strange fix, but by increasing the height of a UiTextView past the size
of any legitimate content, then re-sizes back to the correct size
displaying the full content.

Changelog-Fixed: Fixed disappearing text on iOS17

Diffstat:
Mdamus/Components/SelectableText.swift | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/damus/Components/SelectableText.swift b/damus/Components/SelectableText.swift @@ -29,6 +29,7 @@ struct SelectableText: View { .padding([.leading, .trailing], -1.0) .onAppear { self.selectedTextWidth = geo.size.width + self.selectedTextHeight = 100000.0 } .onChange(of: geo.size) { newSize in self.selectedTextWidth = newSize.width