diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index fcbaef3..39d55be 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -462,7 +462,9 @@ class TunnelViewModel { } } scratchpad = otherScratchPad - changeHandler(peerIndex, changes) + if !changes.isEmpty { + changeHandler(peerIndex, changes) + } } }