new settings added

This commit is contained in:
2024-03-10 13:42:41 +01:00
Unverified
parent 7f1163449c
commit 6246a96be7
15 changed files with 112 additions and 20 deletions

View File

@@ -297,7 +297,14 @@ namespace VDownload.Core.ViewModels.Home
protected async Task CreateTasks(bool download)
{
if (download && NetworkHelper.Instance.ConnectionInformation.IsInternetOnMeteredConnection)
if
(
download
&&
_settingsService.Data.Common.Tasks.ShowMeteredConnectionWarnings
&&
NetworkHelper.Instance.ConnectionInformation.IsInternetOnMeteredConnection
)
{
string title = _stringResourcesService.CommonResources.Get("StartAtMeteredConnectionDialogTitle");
string message = _stringResourcesService.CommonResources.Get("StartAtMeteredConnectionDialogMessage");