commit 969ec820c9455356dbf0bcf3a3d4628e00122b16
parent 549cbb9bce76443aedaec9394f3926acd546667e
Author: Artyom Kazak <artyom@artyom.me>
Date: Thu, 22 Dec 2022 23:37:08 +0100
Better post editor placeholder
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/damus/Views/PostView.swift b/damus/Views/PostView.swift
@@ -77,8 +77,9 @@ struct PostView: View {
if post.isEmpty {
Text(POST_PLACEHOLDER)
.padding(.top, 8)
- .padding(.leading, 10)
+ .padding(.leading, 4)
.foregroundColor(Color(uiColor: .placeholderText))
+ .allowsHitTesting(false)
}
}
}