iOS client for Grain grain.social
ios photography atproto
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove unnecessary nil coalescing on non-optional gallery.cid

+5 -5
+1 -1
Grain/Views/Feed/CameraFeedView.swift
··· 115 115 } 116 116 } 117 117 .sheet(item: $reportGallery) { gallery in 118 - ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid ?? "") 118 + ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid) 119 119 } 120 120 .alert("Delete Gallery?", isPresented: $showDeleteConfirmation) { 121 121 Button("Delete", role: .destructive) {
+1 -1
Grain/Views/Feed/FeedView.swift
··· 444 444 } 445 445 } 446 446 .sheet(item: $reportGallery) { gallery in 447 - ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid ?? "") 447 + ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid) 448 448 } 449 449 .alert("Delete Gallery?", isPresented: $showDeleteConfirmation) { 450 450 Button("Delete", role: .destructive) {
+1 -1
Grain/Views/Feed/HashtagFeedView.swift
··· 115 115 } 116 116 } 117 117 .sheet(item: $reportGallery) { gallery in 118 - ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid ?? "") 118 + ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid) 119 119 } 120 120 .alert("Delete Gallery?", isPresented: $showDeleteConfirmation) { 121 121 Button("Delete", role: .destructive) {
+1 -1
Grain/Views/Feed/LocationFeedView.swift
··· 168 168 } 169 169 } 170 170 .sheet(item: $reportGallery) { gallery in 171 - ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid ?? "") 171 + ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid) 172 172 } 173 173 .alert("Delete Gallery?", isPresented: $showDeleteConfirmation) { 174 174 Button("Delete", role: .destructive) {
+1 -1
Grain/Views/Search/SearchView.swift
··· 172 172 } 173 173 } 174 174 .sheet(item: $reportGallery) { gallery in 175 - ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid ?? "") 175 + ReportView(client: client, subjectUri: gallery.uri, subjectCid: gallery.cid) 176 176 } 177 177 .alert("Delete Gallery?", isPresented: $showDeleteConfirmation) { 178 178 Button("Delete", role: .destructive) {