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.

perf: reduce debounce window to 0.5s

+1 -1
+1 -1
Grain/Utilities/ViewedStoryStorage.swift
··· 112 112 private func scheduleSave() { 113 113 saveTask?.cancel() 114 114 saveTask = Task { [weak self] in 115 - try? await Task.sleep(for: .seconds(1)) 115 + try? await Task.sleep(for: .seconds(0.5)) 116 116 guard !Task.isCancelled else { return } 117 117 self?.save() 118 118 }