mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-12 13:36:26 +01:00
30 lines
No EOL
901 B
C#
30 lines
No EOL
901 B
C#
|
|
using TINK.ViewModel.CopriWebView;
|
|
using Xamarin.Forms;
|
|
using Xamarin.Forms.Xaml;
|
|
|
|
namespace TINK.View.CopriWebView
|
|
{
|
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
|
public partial class PasswordForgottenPage : ContentPage
|
|
{
|
|
public PasswordForgottenPage ()
|
|
{
|
|
InitializeComponent ();
|
|
|
|
PasswordForgottenWebView.Navigated += (sender, ev) =>
|
|
{
|
|
if (ev.Result == WebNavigationResult.Success) return;
|
|
|
|
PasswordForgottenWebView.Source = new HtmlWebViewSource
|
|
{
|
|
Html = "<html><b>Kann Passwort vergessen Seite nicht anzeigen!</b><br>Verbindung mit Internet ok?</html>"
|
|
};
|
|
};
|
|
|
|
PasswordForgottenWebView.BindingContext = new PasswordForgottonViewModel(
|
|
Model.TinkApp.MerchantId,
|
|
App.ModelRoot.NextActiveUri.Host);
|
|
}
|
|
}
|
|
} |