Skip to content

Commit

Permalink
Merge pull request #1249 from planetary-social/bugfix/ipad-report-user
Browse files Browse the repository at this point in the history
Fix issue where Report user menu isn’t visible on iPad
  • Loading branch information
joshuatbrown authored Jun 20, 2024
2 parents f596fcc + 4301cc9 commit 20f1d54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed a bug when mentioning profiles with emojis in the name.
- 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
Expand Down
2 changes: 1 addition & 1 deletion Nos/Views/Profile/ProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,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 ?? ""
Expand Down Expand Up @@ -196,7 +197,6 @@ struct ProfileView: View {
}
}
)
.reportMenu($showingReportMenu, reportedObject: .author(author))
.alert(unwrapping: $alert)
.onAppear {
Task {
Expand Down

0 comments on commit 20f1d54

Please sign in to comment.