Skip to content

fix(log): present export errors instead of dropping them - #34

Open
Nyvernn wants to merge 1 commit into
EasyTier:mainfrom
Nyvernn:pr/log-alert
Open

fix(log): present export errors instead of dropping them#34
Nyvernn wants to merge 1 commit into
EasyTier:mainfrom
Nyvernn:pr/log-alert

Conversation

@Nyvernn

@Nyvernn Nyvernn commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

LogView has two .alert(item:) modifiers on the same view. SwiftUI does not reliably
present both, and it is the second that loses, so every export error -- including
"Log file not found." -- was discarded without a trace and the share button looked like
it did nothing.

One alert, fed by whichever of the two sources has a message.

@chenx-dust

Copy link
Copy Markdown
Collaborator

这个是实际遇到并且影响体验的问题吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants