From 428b967d3daae22666ca673e5aec5d9d74e965b3 Mon Sep 17 00:00:00 2001 From: Alexey Rochev Date: Tue, 30 Apr 2024 02:41:19 +0300 Subject: [PATCH] Clarify when update interval specified in connection settings is used --- app/src/main/res/layout/server_edit_fragment.xml | 9 ++++++++- app/src/main/res/values/strings.xml | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/server_edit_fragment.xml b/app/src/main/res/layout/server_edit_fragment.xml index df0c24b5..52809b04 100644 --- a/app/src/main/res/layout/server_edit_fragment.xml +++ b/app/src/main/res/layout/server_edit_fragment.xml @@ -163,10 +163,17 @@ SPDX-License-Identifier: GPL-3.0-or-later android:inputType="number" /> + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 178961cf..69cb4150 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -236,6 +236,7 @@ SPDX-License-Identifier: GPL-3.0-or-later Username Password Update interval + This update interval is used only when application is in foreground, or persistent notification is active. Background update interval can be configured in application settings. seconds Timeout @@ -503,7 +504,7 @@ SPDX-License-Identifier: GPL-3.0-or-later Persistent notification - Enabling persistent notification will prevent application from switching to background update mode and may cause excessive battery drain + Enabling persistent notification will cause application to update data with the interval configured in connection settings even when it\'s in the background, which can cause excessive battery drain Background update interval