mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-14 14:26:28 +01:00
31 lines
893 B
C#
31 lines
893 B
C#
using System.Globalization;
|
|
using Serilog;
|
|
using TINK.Model.Device;
|
|
using TINK.ViewModel.Login;
|
|
using Xamarin.Forms;
|
|
using Xamarin.Forms.Xaml;
|
|
|
|
namespace TINK.View.CopriWebView
|
|
{
|
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
|
public partial class ManageAccountPage : ContentPage
|
|
{
|
|
public ManageAccountPage()
|
|
{
|
|
InitializeComponent();
|
|
|
|
ManageAccount.Navigating += WebViewHelper.SetBusyAndDisplayOrDownload;
|
|
|
|
ManageAccount.Navigated += (sender, eventArgs) => WebViewHelper.SetIdleAndHandleError(
|
|
sender,
|
|
eventArgs,
|
|
"<html><b>Kann persönliche Daten nicht anzeigen/ verwalten!</b><br>Verbindung mit Internet ok?</html>");
|
|
|
|
ManageAccount.BindingContext = new ManageAccountViewModel(
|
|
App.ModelRoot.ActiveUser.SessionCookie,
|
|
Model.TinkApp.MerchantId,
|
|
CultureInfo.CurrentUICulture.TwoLetterISOLanguageName,
|
|
App.ModelRoot.NextActiveUri.Host);
|
|
}
|
|
}
|
|
}
|