Some UI changes on settings.
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
x:Class="Wino.Views.AccountDetailsPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:accounts="using:Wino.Core.Domain.Models.Accounts"
|
||||
xmlns:abstract="using:Wino.Views.Abstract"
|
||||
xmlns:accounts="using:Wino.Core.Domain.Models.Accounts"
|
||||
xmlns:calendar="using:Wino.Core.Domain.Entities.Calendar"
|
||||
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
|
||||
xmlns:controls1="using:Wino.Controls"
|
||||
xmlns:coreControls="using:Wino.Mail.WinUI.Controls"
|
||||
xmlns:data="using:Wino.Core.ViewModels.Data"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:data="using:Wino.Core.ViewModels.Data"
|
||||
xmlns:domain="using:Wino.Core.Domain"
|
||||
xmlns:folders="using:Wino.Core.Domain.Models.Folders"
|
||||
xmlns:helpers="using:Wino.Helpers"
|
||||
@@ -81,13 +81,9 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<controls:SettingsExpander
|
||||
Description="{x:Bind ViewModel.Address, Mode=OneWay}"
|
||||
Header="{x:Bind ViewModel.AccountName, Mode=OneWay}">
|
||||
<controls:SettingsExpander Description="{x:Bind ViewModel.Address, Mode=OneWay}" Header="{x:Bind ViewModel.AccountName, Mode=OneWay}">
|
||||
<controls:SettingsExpander.HeaderIcon>
|
||||
<BitmapIcon
|
||||
ShowAsMonochrome="False"
|
||||
UriSource="{x:Bind ViewModel.ProviderIconPath, Mode=OneWay}" />
|
||||
<BitmapIcon ShowAsMonochrome="False" UriSource="{x:Bind ViewModel.ProviderIconPath, Mode=OneWay}" />
|
||||
</controls:SettingsExpander.HeaderIcon>
|
||||
<controls:SettingsExpander.Items>
|
||||
<controls:SettingsCard Description="{x:Bind domain:Translator.AccountEditDialog_Message}" Header="{x:Bind domain:Translator.AccountDetailsPage_Title}">
|
||||
@@ -132,6 +128,7 @@
|
||||
|
||||
<Button
|
||||
Grid.Row="1"
|
||||
Width="100"
|
||||
HorizontalAlignment="Right"
|
||||
Command="{x:Bind ViewModel.ResetColorCommand}"
|
||||
Content="{x:Bind domain:Translator.Buttons_Reset}" />
|
||||
@@ -310,6 +307,7 @@
|
||||
<SymbolIcon Symbol="Save" />
|
||||
</controls:SettingsCard.HeaderIcon>
|
||||
<Button
|
||||
Width="100"
|
||||
HorizontalAlignment="Right"
|
||||
Command="{x:Bind ViewModel.SaveChangesCommand}"
|
||||
Content="{x:Bind domain:Translator.Buttons_Save}"
|
||||
@@ -321,6 +319,7 @@
|
||||
<SymbolIcon Symbol="Delete" />
|
||||
</controls:SettingsCard.HeaderIcon>
|
||||
<Button
|
||||
Width="100"
|
||||
Background="Red"
|
||||
Command="{x:Bind ViewModel.DeleteAccountCommand}"
|
||||
Content="{x:Bind domain:Translator.Buttons_Delete}" />
|
||||
|
||||
Reference in New Issue
Block a user