From ef6c82d434efdd390d3be18403f69e6d6deaed11 Mon Sep 17 00:00:00 2001 From: Josh Brown Date: Tue, 18 Jun 2024 15:21:22 -0400 Subject: [PATCH 1/3] =?UTF-8?q?#868:=20Fix=20issue=20where=20Report=20user?= =?UTF-8?q?=20menu=20isn=E2=80=99t=20visible=20on=20iPad?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Nos/Views/Profile/ProfileView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nos/Views/Profile/ProfileView.swift b/Nos/Views/Profile/ProfileView.swift index aad6b3a61..04be4a531 100644 --- a/Nos/Views/Profile/ProfileView.swift +++ b/Nos/Views/Profile/ProfileView.swift @@ -82,6 +82,7 @@ struct ProfileView: View { ProfileHeader(author: author, selectedTab: $selectedTab) .compositingGroup() .shadow(color: .profileShadow, radius: 10, x: 0, y: 4) + .reportMenu($showingReportMenu, reportedObject: .author(author)) }, emptyPlaceholder: { VStack { @@ -196,7 +197,6 @@ struct ProfileView: View { } } ) - .reportMenu($showingReportMenu, reportedObject: .author(author)) .alert(unwrapping: $alert) .onAppear { Task { From aa4f1c07db1c847ca11138259a257523d6ed49f2 Mon Sep 17 00:00:00 2001 From: Josh Brown Date: Tue, 18 Jun 2024 15:24:03 -0400 Subject: [PATCH 2/3] update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb39e8a77..1a13efa79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added "Send To Nos" private reporting for profiles. - Added our third cohort of creators and journalists to the Discover tab. +- Fixed a bug where the Flag User confirmation dialog wasn’t visible on iPad. - Fixed a bug where taking a photo in the app didn’t work. ## [0.1.17] - 2024-06-10Z From 4301cc9e6f9067e33095c0541b92ff5df6423a94 Mon Sep 17 00:00:00 2001 From: Josh Brown Date: Thu, 20 Jun 2024 10:31:16 -0400 Subject: [PATCH 3/3] move the report menu to the ellipsis button --- Nos/Views/Profile/ProfileView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nos/Views/Profile/ProfileView.swift b/Nos/Views/Profile/ProfileView.swift index 04be4a531..c99ff38a9 100644 --- a/Nos/Views/Profile/ProfileView.swift +++ b/Nos/Views/Profile/ProfileView.swift @@ -82,7 +82,6 @@ struct ProfileView: View { ProfileHeader(author: author, selectedTab: $selectedTab) .compositingGroup() .shadow(color: .profileShadow, radius: 10, x: 0, y: 4) - .reportMenu($showingReportMenu, reportedObject: .author(author)) }, emptyPlaceholder: { VStack { @@ -135,6 +134,7 @@ struct ProfileView: View { Image(systemName: "ellipsis") } ) + .reportMenu($showingReportMenu, reportedObject: .author(author)) .confirmationDialog(String(localized: .localizable.share), isPresented: $showingOptions) { Button(String(localized: .localizable.copyUserIdentifier)) { UIPasteboard.general.string = author.publicKey?.npub ?? ""