mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-23 13:26:29 +02:00
Version 3.0.337
This commit is contained in:
parent
fd0e63cf10
commit
573fe77e12
2336 changed files with 33688 additions and 86082 deletions
|
@ -9,8 +9,11 @@
|
|||
HeightRequest="1000"
|
||||
WidthRequest="500"
|
||||
Source="{Binding InfoAgb}"/>
|
||||
<Button Text="OK"
|
||||
Command="{Binding OnOk}"/>
|
||||
<Button
|
||||
Text="OK"
|
||||
WidthRequest="100"
|
||||
Command="{Binding OnOk}"
|
||||
Margin="0,0,0,3"/>
|
||||
</StackLayout>
|
||||
</Frame>
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
using System.Threading.Tasks;
|
||||
using TINK.Model.Bikes.BikeInfoNS.DriveNS.BatteryNS;
|
||||
using TINK.ViewModel;
|
||||
using TINK.ViewModel.WhatsNew.Agb;
|
||||
using Xamarin.Forms;
|
||||
|
@ -8,15 +10,16 @@ using Xamarin.Forms.Xaml;
|
|||
namespace TINK.View.WhatsNew.Agb
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class AgbPage : ContentPage, IViewService
|
||||
{
|
||||
public AgbPage ()
|
||||
{
|
||||
InitializeComponent ();
|
||||
public partial class AgbPage : ContentPage, IViewService
|
||||
{
|
||||
public AgbPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
agbViewModel = new AgbViewModel(
|
||||
App.ModelRoot.NextActiveUri.Host,
|
||||
App.ModelRoot.IsSiteCachingOn,
|
||||
CultureInfo.CurrentUICulture.TwoLetterISOLanguageName,
|
||||
(resourceName) => ViewModelResourceHelper.GetSource(resourceName),
|
||||
this);
|
||||
|
||||
|
@ -47,7 +50,7 @@ namespace TINK.View.WhatsNew.Agb
|
|||
|
||||
/// <summary> Invoked when page is shown. </summary>
|
||||
protected async override void OnAppearing()
|
||||
=> await agbViewModel.OnAppearing();
|
||||
=> await agbViewModel.OnAppearing();
|
||||
|
||||
/// <summary> Reference to view model.</summary>
|
||||
AgbViewModel agbViewModel;
|
||||
|
@ -75,7 +78,7 @@ namespace TINK.View.WhatsNew.Agb
|
|||
#if USCSHARP9
|
||||
public Task<IViewService.IUserFeedback> DisplayUserFeedbackPopup() => throw new NotSupportedException();
|
||||
#else
|
||||
public Task<IUserFeedback> DisplayUserFeedbackPopup(string co2Saving = null) => throw new NotSupportedException();
|
||||
public async Task<IUserFeedback> DisplayUserFeedbackPopup(IBattery battery = null, string co2Saving = null) => throw new NotSupportedException();
|
||||
#endif
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue