experiments in a post-browser web
10
fork

Configure Feed

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

fix(share): commit pending tag text when Done is tapped

When user types a tag in the share extension text field but taps Done
without pressing Add first, the tag was lost. Now closePressed() calls
addTagPressed() before saveCurrentState() to commit any pending input.

+2
+2
backend/tauri-mobile/src-tauri/gen/apple/Peek/ShareViewController.swift
··· 2075 2075 } 2076 2076 2077 2077 @objc func closePressed() { 2078 + // Commit any tag text the user typed but didn't explicitly "Add" 2079 + addTagPressed() 2078 2080 saveCurrentState() 2079 2081 extensionContext?.completeRequest(returningItems: [], completionHandler: nil) 2080 2082 }