mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Version 3.0.337
This commit is contained in:
parent
fd0e63cf10
commit
573fe77e12
2336 changed files with 33688 additions and 86082 deletions
|
@ -18,7 +18,7 @@ namespace TINK.Model.Connector
|
|||
/// Fired whenever a property changes.
|
||||
/// </summary>
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
|
||||
/// <summary>Maps uris to user fiendly descriptions.</summary>
|
||||
private Dictionary<string, string> uriToServerText;
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@ namespace TINK.ViewModel.Settings
|
|||
/// <param name="isEnabled">If filter does not apply because user does not belong to group (TINK, Konrad, ...) filter is deactivated.</param>
|
||||
/// <param name="labelText">Text of the switch describing the filter.</param>
|
||||
public FilterItemMutable(
|
||||
string key,
|
||||
FilterState filterState,
|
||||
bool isEnabled,
|
||||
string key,
|
||||
FilterState filterState,
|
||||
bool isEnabled,
|
||||
string labelText)
|
||||
{
|
||||
Text = labelText;
|
||||
|
@ -30,7 +30,7 @@ namespace TINK.ViewModel.Settings
|
|||
public string Text { get; }
|
||||
|
||||
/// <summary> True if switch can be toggeled.</summary>
|
||||
public bool IsEnabled { get; }
|
||||
public bool IsEnabled { get; }
|
||||
|
||||
/// <summary> True if switch is on.</summary>
|
||||
public bool IsActivated
|
||||
|
|
|
@ -20,8 +20,8 @@ namespace TINK.ViewModel.Settings
|
|||
|
||||
public string ConnectTimeoutSecText { get => ConnectTimeout.TotalSeconds.ToString(); }
|
||||
|
||||
public double ConnectTimeoutSec
|
||||
{
|
||||
public double ConnectTimeoutSec
|
||||
{
|
||||
get => ConnectTimeout.TotalSeconds;
|
||||
|
||||
set
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using Serilog;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using Serilog;
|
||||
|
||||
namespace TINK.ViewModel.Settings
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ namespace TINK.ViewModel.Settings
|
|||
}
|
||||
|
||||
/// <summary> List of display texts of services.</summary>
|
||||
public IList<string> ServicesTextList => ServiceToText.Select(x => x.Value).OrderBy(x => x).ToList();
|
||||
public IList<string> ServicesTextList => ServiceToText.Select(x => x.Value).OrderBy(x => x).ToList();
|
||||
|
||||
/// <summary> Active locks service.</summary>
|
||||
public string ActiveText
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
using Serilog;
|
||||
using Serilog.Events;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Serilog;
|
||||
using Serilog.Events;
|
||||
using TINK.Model;
|
||||
using TINK.Model.Connector;
|
||||
using TINK.Model.User.Account;
|
||||
using TINK.Repository.Exception;
|
||||
using TINK.Services;
|
||||
using TINK.Services.BluetoothLock;
|
||||
using TINK.Services.Geolocation;
|
||||
using TINK.Settings;
|
||||
using TINK.View;
|
||||
using TINK.ViewModel.Map;
|
||||
using TINK.ViewModel.Settings;
|
||||
using System.Linq;
|
||||
using TINK.Model.User.Account;
|
||||
using TINK.Services.BluetoothLock;
|
||||
using Xamarin.Forms;
|
||||
using TINK.Services;
|
||||
|
||||
namespace TINK.ViewModel
|
||||
{
|
||||
|
@ -90,7 +90,7 @@ namespace TINK.ViewModel
|
|||
ExternalFolder = TinkApp.ExternalFolder;
|
||||
|
||||
IsLogToExternalFolderVisible = !string.IsNullOrEmpty(ExternalFolder);
|
||||
|
||||
|
||||
LogToExternalFolderDisplayValue = IsLogToExternalFolderVisible ? TinkApp.LogToExternalFolder : false;
|
||||
|
||||
IsSiteCachingOnDisplayValue = TinkApp.IsSiteCachingOn;
|
||||
|
@ -148,8 +148,8 @@ namespace TINK.ViewModel
|
|||
|
||||
GeolocationServices = new ServicesViewModel(
|
||||
GeoloctionServicesContainer.Select(x => x.GetType().FullName),
|
||||
new Dictionary<string, string> {
|
||||
{ typeof(LastKnownGeolocationService).FullName, "LastKnowGeolocation" },
|
||||
new Dictionary<string, string> {
|
||||
{ typeof(LastKnownGeolocationService).FullName, "LastKnowGeolocation" },
|
||||
{ typeof(GeolocationAccuracyMediumService).FullName, "Medium Accuracy" },
|
||||
{ typeof(GeolocationAccuracyHighService).FullName, "High Accuracy" },
|
||||
{ typeof(GeolocationAccuracyBestService).FullName, "Best Accuracy" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue