refactor: use isLocalOnly instead of isOfflineCreated

- isLocalOnly is more accurate - covers both offline and online-but-local-only scenarios
- Update tooltip to 'Local relays only - will sync when remote relays available'
- Better semantic meaning: highlights only published to local relays
- Covers cases where user is online but only connected to local relays
This commit is contained in:
Gigi
2025-10-30 20:32:43 +01:00
parent e3d924f3fc
commit b6f151c711
3 changed files with 7 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ export async function createHighlight(
// Convert to Highlight with relay tracking info and return IMMEDIATELY
const highlight = eventToHighlight(signedEvent)
highlight.publishedRelays = expectedSuccessRelays
highlight.isOfflineCreated = isLocalOnly
highlight.isLocalOnly = isLocalOnly
return highlight
}