1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Improve push notifications screen

This commit is contained in:
Pierre HUBERT 2021-04-18 14:14:21 +02:00
parent 91139e25db
commit 6baf02e258

View File

@ -129,9 +129,11 @@ class PushNotificationsConfigurationWidgetState
if (widget.onChanged != null) widget.onChanged(); if (widget.onChanged != null) widget.onChanged();
}, },
), ),
SizedBox(height: 5),
_NotificationOption( _NotificationOption(
title: tr("Use independent notifications service"), title: tr("Use independent notifications service"),
description: tr("Protect more your privacy."), description: tr(
"Protect more your privacy, but drains battery and is less reliable."),
option: PushNotificationsStatus.INDEPENDENT, option: PushNotificationsStatus.INDEPENDENT,
current: currStatus, current: currStatus,
available: available:
@ -141,6 +143,7 @@ class PushNotificationsConfigurationWidgetState
if (widget.onChanged != null) widget.onChanged(); if (widget.onChanged != null) widget.onChanged();
}, },
), ),
SizedBox(height: 5),
_NotificationOption( _NotificationOption(
title: tr("Do not send notification"), title: tr("Do not send notification"),
option: PushNotificationsStatus.DISABLED, option: PushNotificationsStatus.DISABLED,