refactor: improve alert error context and copy action
This commit is contained in:
@@ -111,7 +111,7 @@ struct PacketTunnelView: View {
|
||||
do {
|
||||
try await profile.restart()
|
||||
} catch {
|
||||
alert = AlertState(error: error)
|
||||
alert = AlertState(action: "restart service", error: error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user