disconnect notifications

This commit is contained in:
SimplifiedPrivacy 2026-10-23 20:05:54 -04:00
parent bf9063b1f8
commit 70ed33bb5b

View file

@ -228,6 +228,8 @@ def disable_profile(
profile_observer.notify('disabled', profile, dict(
explicitly=explicitly,
))
notification = "Profile Disconnected."
Notifications.emit(EventType.STATUS_UPDATE, notification)
# ============================================================================
# SYSTEMWIDE
@ -277,6 +279,8 @@ def disable_profile(
))
# return profile type for UI:
notification = "Systemwide Disconnected."
Notifications.emit(EventType.STATUS_UPDATE, notification)
return Result(valid=True, data=profile.type)
except ConnectionTerminationError: