Better post editor placeholder
This commit is contained in:
committed by
William Casarin
parent
549cbb9bce
commit
969ec820c9
@@ -77,8 +77,9 @@ struct PostView: View {
|
|||||||
if post.isEmpty {
|
if post.isEmpty {
|
||||||
Text(POST_PLACEHOLDER)
|
Text(POST_PLACEHOLDER)
|
||||||
.padding(.top, 8)
|
.padding(.top, 8)
|
||||||
.padding(.leading, 10)
|
.padding(.leading, 4)
|
||||||
.foregroundColor(Color(uiColor: .placeholderText))
|
.foregroundColor(Color(uiColor: .placeholderText))
|
||||||
|
.allowsHitTesting(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user