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.

feat: add haptic feedback on long-press to create story

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+5 -1
+1
Grain/Views/Profile/ProfileView.swift
··· 88 88 } 89 89 .onLongPressGesture(minimumDuration: 0.5) { 90 90 if did == auth.userDID { 91 + UIImpactFeedbackGenerator(style: .medium).impactOccurred() 91 92 showStoryCreate = true 92 93 } 93 94 }
+4 -1
Grain/Views/Stories/StoryStripView.swift
··· 52 52 onCreateTap() 53 53 } 54 54 } 55 - .onLongPressGesture { onCreateTap() } 55 + .onLongPressGesture { 56 + UIImpactFeedbackGenerator(style: .medium).impactOccurred() 57 + onCreateTap() 58 + } 56 59 57 60 ForEach(sorted, id: \.id) { author in 58 61 let isViewed = viewedStories.hasViewedAll(authorDid: author.profile.did, latestAt: author.latestAt)