mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
privacy: Show notification for privacy settings again
- Since a new option has been introduced the privacy app. Tests: - When the patch is applied and service is restart, privacy app's setup is run again and notification is shown when it has already been dismissed. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Benedek Nagy <contact@nbenedek.me>
This commit is contained in:
parent
81c5268ff6
commit
ed519187c5
@ -26,7 +26,7 @@ class PrivacyApp(app_module.App):
|
|||||||
|
|
||||||
app_id = 'privacy'
|
app_id = 'privacy'
|
||||||
|
|
||||||
_version = 3
|
_version = 4
|
||||||
|
|
||||||
can_be_disabled = False
|
can_be_disabled = False
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ class PrivacyApp(app_module.App):
|
|||||||
if old_version == 0:
|
if old_version == 0:
|
||||||
privileged.set_configuration(enable_popcon=True)
|
privileged.set_configuration(enable_popcon=True)
|
||||||
|
|
||||||
if old_version < 3:
|
if old_version < 4:
|
||||||
_show_privacy_notification()
|
_show_privacy_notification()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user