commit b69116e68571185102b75ccde625b7d6792cf759
parent 561e2cd3adc28e435ed71957aac6c0d82046b178
Author: William Casarin <jb55@jb55.com>
Date: Wed, 25 Jan 2023 08:24:40 -0800
Move share button
To avoid the weird hit detection issues
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift
@@ -219,9 +219,6 @@ struct ProfileView: View {
.frame(width: geometry.size.width, height: self.getHeightForHeaderImage(geometry))
.clipped()
.offset(x: 0, y: self.getOffsetForHeaderImage(geometry))
-
- ShareButton
- .offset(x: geometry.size.width - 80.0, y: 50.0 )
}.frame(height: BANNER_HEIGHT)
@@ -250,6 +247,8 @@ struct ProfileView: View {
DMButton
+ ShareButton
+
if profile.pubkey != damus_state.pubkey {
FollowButtonView(
target: profile.get_follow_target(),