bitwarden-android/src/App/Pages/Settings/SyncPage.xaml

32 lines
1.1 KiB
Text
Raw Normal View History

2019-05-14 19:05:30 +03:00
<?xml version="1.0" encoding="utf-8" ?>
<pages:BaseContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Pages.SyncPage"
xmlns:pages="clr-namespace:Bit.App.Pages"
xmlns:u="clr-namespace:Bit.App.Utilities"
x:DataType="pages:SyncPageViewModel"
Title="{Binding PageTitle}">
<ContentPage.BindingContext>
<pages:SyncPageViewModel />
</ContentPage.BindingContext>
2019-05-14 23:36:54 +03:00
<StackLayout Spacing="10"
Padding="10, 5"
VerticalOptions="Center"
HorizontalOptions="FillAndExpand">
2019-05-14 19:05:30 +03:00
<Button Text="{u:I18n SyncVaultNow}"
Clicked="Sync_Clicked"></Button>
2019-05-14 23:36:54 +03:00
<Label StyleClass="text-muted, text-sm" HorizontalTextAlignment="Center">
<Label.FormattedText>
<FormattedString>
<Span Text="{u:I18n LastSync}" />
<Span Text=" " />
<Span Text="{Binding LastSync}" />
</FormattedString>
</Label.FormattedText>
</Label>
2019-05-14 19:05:30 +03:00
</StackLayout>
</pages:BaseContentPage>