mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 13:57:28 +02:00
3.0.275
This commit is contained in:
parent
f38b516d25
commit
578fcee611
70 changed files with 6828 additions and 9625 deletions
|
@ -8,16 +8,17 @@ namespace TINK.View.Contact
|
|||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class FeesAndBikesPage : TabbedPage
|
||||
{
|
||||
public HelpContactViewModel ViewModel { get; }
|
||||
public FeesAndBikesPageViewModel ViewModel { get; }
|
||||
|
||||
public FeesAndBikesPage ()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ViewModel = new HelpContactViewModel(
|
||||
ViewModel = new FeesAndBikesPageViewModel(
|
||||
App.ModelRoot.NextActiveUri.Host,
|
||||
App.ModelRoot.IsSiteCachingOn,
|
||||
resourceName => ViewModelResourceHelper.GetSource(resourceName));
|
||||
App.ModelRoot.ResourceUrls.FeesResourcePath,
|
||||
App.ModelRoot.ResourceUrls.BikesResourcePath,
|
||||
App.ModelRoot.IsSiteCachingOn);
|
||||
|
||||
BindingContext = ViewModel;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="TINK.View.Info.TabbedPageInfo"
|
||||
x:Class="TINK.View.Info.InfoPage"
|
||||
x:Name="TabbedInfoPage">
|
||||
<!--Pages can be added as references or inline-->
|
||||
<ContentPage Title="App">
|
||||
|
|
|
@ -6,16 +6,19 @@ using Xamarin.Forms.Xaml;
|
|||
namespace TINK.View.Info
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class TabbedPageInfo : TabbedPage
|
||||
public partial class InfoPage : TabbedPage
|
||||
{
|
||||
public InfoViewModel ViewModel { get; }
|
||||
public InfoPageViewModel ViewModel { get; }
|
||||
|
||||
public TabbedPageInfo()
|
||||
public InfoPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ViewModel = new InfoViewModel(
|
||||
ViewModel = new InfoPageViewModel(
|
||||
App.ModelRoot.NextActiveUri.Host,
|
||||
App.ModelRoot.ResourceUrls.AgbResourcePath,
|
||||
App.ModelRoot.ResourceUrls.PrivacyResourcePath,
|
||||
App.ModelRoot.ResourceUrls.ImpressResourcePath,
|
||||
App.ModelRoot.IsSiteCachingOn,
|
||||
resourceName => ViewModelResourceHelper.GetSource(resourceName));
|
||||
TabbedInfoPage.BindingContext = ViewModel;
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">
|
||||
<ShellContent
|
||||
Title="{Binding TabbedPageIngoTitle}"
|
||||
ContentTemplate="{DataTemplate info:TabbedPageInfo}">
|
||||
ContentTemplate="{DataTemplate info:InfoPage}">
|
||||
<ShellContent.FlyoutIcon>
|
||||
<FontImageSource Glyph="{StaticResource IconInfo}" Color="Black" FontFamily="FA-S" />
|
||||
</ShellContent.FlyoutIcon>
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace TINK.View
|
|||
return typeof(SettingsPage);
|
||||
|
||||
case ViewTypes.TabbedPageInfo:
|
||||
return typeof(TabbedPageInfo);
|
||||
return typeof(InfoPage);
|
||||
|
||||
case ViewTypes.FeesAndBikesPage:
|
||||
return typeof(FeesAndBikesPage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue