255 lines
54 KiB
XML
255 lines
54 KiB
XML
<abstract:AccountDetailsPageAbstract
|
|
x:Class="Wino.Views.AccountDetailsPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:abstract="using:Wino.Views.Abstract"
|
|
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
|
|
xmlns:controls1="using:Wino.Controls"
|
|
xmlns:coreControls="using:Wino.Core.UWP.Controls"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:domain="using:Wino.Core.Domain"
|
|
xmlns:folders="using:Wino.Core.Domain.Models.Folders"
|
|
xmlns:helpers="using:Wino.Helpers"
|
|
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
|
|
xmlns:interfaces="using:Wino.Core.Domain.Interfaces"
|
|
xmlns:local="using:Wino.Views"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
|
x:Name="root"
|
|
mc:Ignorable="d">
|
|
|
|
<Page.Resources>
|
|
<DataTemplate x:Key="FolderStructureMenuFlyoutItemTemplate" x:DataType="folders:IMailItemFolder">
|
|
<muxc:TreeViewItem
|
|
CanDrag="False"
|
|
IsExpanded="True"
|
|
ItemsSource="{x:Bind ChildFolders}">
|
|
<Grid Height="32">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="200" />
|
|
</Grid.ColumnDefinitions>
|
|
<coreControls:WinoFontIcon FontSize="20" Icon="{x:Bind helpers:XamlHelpers.GetSpecialFolderPathIconGeometry(SpecialFolderType)}" />
|
|
<TextBlock
|
|
Grid.Column="1"
|
|
Margin="12,0"
|
|
VerticalAlignment="Center"
|
|
Text="{x:Bind FolderName}" />
|
|
|
|
<Grid Grid.Column="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<CheckBox
|
|
MinWidth="0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Checked="SyncFolderToggled"
|
|
IsChecked="{x:Bind IsSynchronizationEnabled, Mode=OneWay}"
|
|
Tag="{Binding}"
|
|
Unchecked="SyncFolderToggled"
|
|
Visibility="{x:Bind IsMoveTarget}" />
|
|
|
|
<CheckBox
|
|
Grid.Column="1"
|
|
MinWidth="0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Checked="UnreadBadgeCheckboxToggled"
|
|
IsChecked="{x:Bind ShowUnreadCount, Mode=OneWay}"
|
|
Tag="{Binding}"
|
|
Unchecked="UnreadBadgeCheckboxToggled"
|
|
Visibility="{x:Bind IsMoveTarget}" />
|
|
</Grid>
|
|
</Grid>
|
|
</muxc:TreeViewItem>
|
|
</DataTemplate>
|
|
</Page.Resources>
|
|
|
|
<ScrollViewer>
|
|
<StackPanel Spacing="4">
|
|
<StackPanel.ChildrenTransitions>
|
|
<TransitionCollection>
|
|
<RepositionThemeTransition IsStaggeringEnabled="False" />
|
|
</TransitionCollection>
|
|
</StackPanel.ChildrenTransitions>
|
|
|
|
<controls:SettingsCard
|
|
Command="{x:Bind ViewModel.EditAccountDetailsCommand}"
|
|
Description="{x:Bind domain:Translator.SettingsEditAccountDetails_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsEditAccountDetails_Title}"
|
|
IsClickEnabled="True">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 4.921875 18.75 C 4.433594 18.75 3.966471 18.650717 3.520508 18.452148 C 3.074544 18.25358 2.683919 17.986654 2.348633 17.651367 C 2.013346 17.31608 1.746419 16.925455 1.547852 16.479492 C 1.349284 16.033529 1.25 15.566406 1.25 15.078125 L 1.25 4.921875 C 1.25 4.433594 1.349284 3.966473 1.547852 3.520508 C 1.746419 3.074545 2.013346 2.68392 2.348633 2.348633 C 2.683919 2.013348 3.074544 1.74642 3.520508 1.547852 C 3.966471 1.349285 4.433594 1.25 4.921875 1.25 L 15.078125 1.25 C 15.566406 1.25 16.033527 1.349285 16.479492 1.547852 C 16.925455 1.74642 17.31608 2.013348 17.651367 2.348633 C 17.986652 2.68392 18.25358 3.074545 18.452148 3.520508 C 18.650715 3.966473 18.75 4.433594 18.75 4.921875 L 18.75 15.078125 C 18.75 15.566406 18.650715 16.033529 18.452148 16.479492 C 18.25358 16.925455 17.986652 17.31608 17.651367 17.651367 C 17.31608 17.986654 16.925455 18.25358 16.479492 18.452148 C 16.033527 18.650717 15.566406 18.75 15.078125 18.75 Z M 15.048828 17.5 C 15.374349 17.5 15.685221 17.433268 15.981445 17.299805 C 16.277668 17.166342 16.538086 16.987305 16.762695 16.762695 C 16.987305 16.538086 17.16634 16.27767 17.299805 15.981445 C 17.433268 15.685222 17.5 15.37435 17.5 15.048828 L 17.5 4.951172 C 17.5 4.625651 17.433268 4.314779 17.299805 4.018555 C 17.16634 3.722332 16.987305 3.461914 16.762695 3.237305 C 16.538086 3.012695 16.277668 2.83366 15.981445 2.700195 C 15.685221 2.566732 15.374349 2.5 15.048828 2.5 L 4.951172 2.5 C 4.625651 2.5 4.314778 2.566732 4.018555 2.700195 C 3.722331 2.83366 3.461914 3.012695 3.237305 3.237305 C 3.012695 3.461914 2.833659 3.722332 2.700195 4.018555 C 2.566732 4.314779 2.5 4.625651 2.5 4.951172 L 2.5 15.048828 C 2.5 15.37435 2.566732 15.685222 2.700195 15.981445 C 2.833659 16.27767 3.012695 16.538086 3.237305 16.762695 C 3.461914 16.987305 3.722331 17.166342 4.018555 17.299805 C 4.314778 17.433268 4.625651 17.5 4.951172 17.5 Z M 7.5 7.451172 C 7.5 7.112631 7.568359 6.795248 7.705078 6.499023 C 7.841796 6.202801 8.024088 5.944012 8.251953 5.722656 C 8.479817 5.501303 8.745117 5.325521 9.047852 5.195312 C 9.350586 5.065105 9.667969 5.000001 10 5 C 10.338541 5.000001 10.660807 5.066732 10.966797 5.200195 C 11.272786 5.333659 11.538086 5.512695 11.762695 5.737305 C 11.987304 5.961914 12.16634 6.227214 12.299805 6.533203 C 12.433268 6.839193 12.5 7.161459 12.5 7.5 C 12.5 7.845053 12.433268 8.168945 12.299805 8.47168 C 12.16634 8.774414 11.987304 9.038086 11.762695 9.262695 C 11.538086 9.487305 11.272786 9.666342 10.966797 9.799805 C 10.660807 9.933269 10.338541 10 10 10 C 9.648438 10 9.319661 9.933269 9.013672 9.799805 C 8.707682 9.666342 8.442383 9.48405 8.217773 9.25293 C 7.993164 9.021811 7.817382 8.751628 7.69043 8.442383 C 7.563476 8.133139 7.5 7.802734 7.5 7.451172 Z M 11.25 7.5 C 11.25 7.330729 11.217447 7.169597 11.152344 7.016602 C 11.087239 6.863607 10.997721 6.730145 10.883789 6.616211 C 10.769856 6.502279 10.636393 6.412761 10.483398 6.347656 C 10.330403 6.282553 10.169271 6.25 10 6.25 C 9.824219 6.25 9.661458 6.282553 9.511719 6.347656 C 9.361979 6.412761 9.230143 6.502279 9.116211 6.616211 C 9.002278 6.730145 8.91276 6.86198 8.847656 7.011719 C 8.782552 7.161459 8.75 7.324219 8.75 7.5 C 8.75 7.675781 8.782552 7.84017 8.847656 7.993164 C 8.91276 8.146159 9.00065 8.277995 9.111328 8.388672 C 9.222005 8.49935 9.353841 8.58724 9.506836 8.652344 C 9.65983 8.717448 9.824219 8.75 10 8.75 C 10.175781 8.75 10.338541 8.717448 10.488281 8.652344 C 10.638021 8.58724 10.769856 8.497722 10.883789 8.383789 C 10.997721 8.269857 11.087239 8.138021 11.152344 7.988281 C 11.217447 7.838542 11.25 7.675781 11.25 7.5 Z M 5.488281 12.880859 C 5.488281 12.639975 5.530599 12.41862 5.615234 12.216797 C 5.69987 12.014975 5.81543 11.842448 5.961914 11.699219 C 6.108398 11.55599 6.282552 11.445312 6.484375 11.367188 C 6.686198 11.289062 6.907552 11.25 7.148438 11.25 L 12.851562 11.25 C 13.092447 11.25 13.313801 11.289062 13.515625 11.367188 C 13.717447 11.445312 13.891602 11.55599 14.038086 11.699219 C 14.18457 11.842448 14.30013 12.014975 14.384766 12.216797 C 14.4694 12.41862 14.511719 12.639975 14.511719 12.880859 C 14.511719 13.525391 14.379883 14.0625 14.116211 14.492188 C 13.852539 14.921875 13.505859 15.266928 13.076172 15.527344 C 12.646484 15.787761 12.163086 15.973308 11.625977 16.083984 C 11.088867 16.194662 10.546875 16.25 10 16.25 C 9.453125 16.25 8.911133 16.194662 8.374023 16.083984 C 7.836914 15.973308 7.353516 15.787761 6.923828 15.527344 C 6.494141 15.266928 6.147461 14.921875 5.883789 14.492188 C 5.620117 14.0625 5.488281 13.525391 5.488281 12.880859 Z M 13.261719 12.832031 C 13.261719 12.701823 13.221028 12.613933 13.139648 12.568359 C 13.058268 12.522787 12.962239 12.5 12.851562 12.5 L 7.148438 12.5 C 7.03776 12.5 6.941731 12.522787 6.860352 12.568359 C 6.778971 12.613933 6.738281 12.701823 6.738281 12.832031 C 6.738281 13.294271 6.839192 13.666992 7.041016 13.950195 C 7.242838 14.233398 7.501627 14.453125 7.817383 14.609375 C 8.133138 14.765625 8.483072 14.869792 8.867188 14.921875 C 9.251302 14.973959 9.628906 15 10 15 C 10.371094 15 10.748697 14.973959 11.132812 14.921875 C 11.516927 14.869792 11.866861 14.765625 12.182617 14.609375 C 12.498371 14.453125 12.75716 14.233398 12.958984 13.950195 C 13.160807 13.666992 13.261719 13.294271 13.261719 12.832031 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
</controls:SettingsCard>
|
|
|
|
<controls:SettingsCard
|
|
Command="{x:Bind ViewModel.EditAliasesCommand}"
|
|
Description="{x:Bind domain:Translator.SettingsManageAliases_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsManageAliases_Title}"
|
|
IsClickEnabled="True">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 3.75 5 L 3.75 4.902344 C 3.75 4.225262 3.885091 3.588867 4.155273 2.993164 C 4.425456 2.397461 4.790039 1.878256 5.249023 1.435547 C 5.708008 0.99284 6.238606 0.642904 6.84082 0.385742 C 7.443034 0.128582 8.079427 0 8.75 0 C 9.440104 0 10.089518 0.130209 10.698242 0.390625 C 11.306966 0.651043 11.837564 1.007488 12.290039 1.459961 C 12.742513 1.912436 13.098958 2.443035 13.359375 3.051758 C 13.619791 3.660482 13.75 4.309896 13.75 5 C 13.75 5.690104 13.619791 6.339519 13.359375 6.948242 C 13.098958 7.556967 12.742513 8.087565 12.290039 8.540039 C 11.837564 8.992514 11.306966 9.348959 10.698242 9.609375 C 10.089518 9.869792 9.440104 10 8.75 10 C 8.059896 10 7.410481 9.869792 6.801758 9.609375 C 6.193034 9.348959 5.662435 8.992514 5.209961 8.540039 C 4.757487 8.087565 4.401042 7.556967 4.140625 6.948242 C 3.880208 6.339519 3.75 5.690104 3.75 5 Z M 12.5 5 L 12.5 4.921875 C 12.5 4.414062 12.399088 3.937176 12.197266 3.491211 C 11.995442 3.045248 11.722005 2.65625 11.376953 2.324219 C 11.0319 1.992188 10.633138 1.730145 10.180664 1.538086 C 9.728189 1.346029 9.251302 1.25 8.75 1.25 C 8.229166 1.25 7.740885 1.347656 7.285156 1.542969 C 6.829427 1.738281 6.432292 2.005209 6.09375 2.34375 C 5.755208 2.682293 5.488281 3.079428 5.292969 3.535156 C 5.097656 3.990887 5 4.479167 5 5 C 5 5.520834 5.097656 6.009115 5.292969 6.464844 C 5.488281 6.920573 5.755208 7.317709 6.09375 7.65625 C 6.432292 7.994792 6.829427 8.261719 7.285156 8.457031 C 7.740885 8.652344 8.229166 8.75 8.75 8.75 C 9.270833 8.75 9.759114 8.652344 10.214844 8.457031 C 10.670572 8.261719 11.067708 7.994792 11.40625 7.65625 C 11.744791 7.317709 12.011719 6.920573 12.207031 6.464844 C 12.402344 6.009115 12.5 5.520834 12.5 5 Z M 0 13.681641 C 0 13.349609 0.068359 13.035482 0.205078 12.739258 C 0.341797 12.443034 0.525716 12.184245 0.756836 11.962891 C 0.987956 11.741537 1.254883 11.567383 1.557617 11.44043 C 1.860352 11.313477 2.177734 11.25 2.509766 11.25 L 15 11.25 C 15.455729 11.25 15.87565 11.363933 16.259766 11.591797 C 16.643879 11.819662 16.949869 12.132162 17.177734 12.529297 C 17.067057 12.509766 16.962891 12.5 16.865234 12.5 C 16.676432 12.5 16.495768 12.52767 16.323242 12.583008 C 16.150715 12.638347 15.986328 12.714844 15.830078 12.8125 C 15.7194 12.708334 15.59082 12.630209 15.444336 12.578125 C 15.297852 12.526042 15.149739 12.5 15 12.5 L 2.509766 12.5 C 2.333984 12.5 2.169596 12.532553 2.016602 12.597656 C 1.863607 12.662761 1.730143 12.750651 1.616211 12.861328 C 1.502279 12.972006 1.41276 13.103842 1.347656 13.256836 C 1.282552 13.409831 1.25 13.574219 1.25 13.75 C 1.25 14.394531 1.359049 14.964193 1.577148 15.458984 C 1.795247 15.953776 2.089844 16.385092 2.460938 16.75293 C 2.832031 17.120768 3.261719 17.430014 3.75 17.680664 C 4.238281 17.931314 4.754231 18.134766 5.297852 18.291016 C 5.841471 18.447266 6.396484 18.561197 6.962891 18.632812 C 7.529297 18.704428 8.072916 18.74349 8.59375 18.75 L 9.814453 19.960938 C 9.638672 19.973959 9.461263 19.983725 9.282227 19.990234 C 9.103189 19.996744 8.925781 20 8.75 20 C 8.085938 20 7.408854 19.954428 6.71875 19.863281 C 6.028646 19.772135 5.3597 19.624023 4.711914 19.418945 C 4.064127 19.213867 3.453776 18.948568 2.880859 18.623047 C 2.307943 18.297525 1.808268 17.900391 1.381836 17.431641 C 0.955404 16.962891 0.61849 16.419271 0.371094 15.800781 C 0.123698 15.182292 0 14.475912 0 13.681641 Z M 8.75 16.875 C 8.75 16.705729 8.811849 16.559244 8.935547 16.435547 L 11.435547 13.935547 C 11.559244 13.81185 11.705729 13.75 11.875 13.75 C 12.04427 13.75 12.190754 13.81185 12.314453 13.935547 C 12.43815 14.059245 12.5 14.205729 12.5 14.375 C 12.5 14.544271 12.43815 14.690756 12.314453 14.814453 L 10.888672 16.25 L 17.861328 16.25 L 16.435547 14.814453 C 16.311848 14.690756 16.25 14.544271 16.25 14.375 C 16.25 14.205729 16.311848 14.059245 16.435547 13.935547 C 16.559244 13.81185 16.705729 13.75 16.875 13.75 C 17.04427 13.75 17.190754 13.81185 17.314453 13.935547 L 19.814453 16.435547 C 19.93815 16.559244 20 16.705729 20 16.875 C 20 17.044271 19.93815 17.190756 19.814453 17.314453 L 17.314453 19.814453 C 17.190754 19.93815 17.04427 20 16.875 20 C 16.705729 20 16.559244 19.93815 16.435547 19.814453 C 16.311848 19.690756 16.25 19.544271 16.25 19.375 C 16.25 19.205729 16.311848 19.059244 16.435547 18.935547 L 17.861328 17.5 L 10.888672 17.5 L 12.314453 18.935547 C 12.43815 19.059244 12.5 19.205729 12.5 19.375 C 12.5 19.544271 12.43815 19.690756 12.314453 19.814453 C 12.190754 19.93815 12.04427 20 11.875 20 C 11.705729 20 11.559244 19.93815 11.435547 19.814453 L 8.935547 17.314453 C 8.811849 17.190756 8.75 17.044271 8.75 16.875 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
</controls:SettingsCard>
|
|
|
|
<controls:SettingsExpander Description="{x:Bind domain:Translator.SettingsFolderOptions_Description}" Header="{x:Bind domain:Translator.SettingsFolderOptions_Title}">
|
|
<controls:SettingsExpander.HeaderIcon>
|
|
<PathIcon Data="F1 M 3.056641 18.75 C 2.646484 18.75 2.255859 18.666992 1.884766 18.500977 C 1.513672 18.334961 1.189779 18.113607 0.913086 17.836914 C 0.636393 17.560221 0.415039 17.236328 0.249023 16.865234 C 0.083008 16.494141 0 16.103516 0 15.693359 L 0 4.306641 C 0 3.896484 0.083008 3.505859 0.249023 3.134766 C 0.415039 2.763672 0.636393 2.439779 0.913086 2.163086 C 1.189779 1.886395 1.513672 1.665039 1.884766 1.499023 C 2.255859 1.333008 2.646484 1.25 3.056641 1.25 L 6.875 1.25 C 7.324219 1.25 7.711588 1.319988 8.037109 1.459961 C 8.36263 1.599936 8.653971 1.787109 8.911133 2.021484 C 9.168294 2.255859 9.407552 2.522787 9.628906 2.822266 C 9.85026 3.121746 10.078125 3.43099 10.3125 3.75 L 16.943359 3.75 C 17.353516 3.75 17.744141 3.833008 18.115234 3.999023 C 18.486328 4.165039 18.810221 4.386394 19.086914 4.663086 C 19.363605 4.939779 19.584961 5.263672 19.750977 5.634766 C 19.916992 6.005859 20 6.396484 20 6.806641 L 20 9.902344 C 19.817707 9.674479 19.622395 9.456381 19.414062 9.248047 C 19.205729 9.039714 18.984375 8.847656 18.75 8.671875 L 18.75 6.875 C 18.75 6.621095 18.701172 6.380209 18.603516 6.152344 C 18.505859 5.924479 18.370768 5.724284 18.198242 5.551758 C 18.025715 5.379232 17.82552 5.244142 17.597656 5.146484 C 17.369791 5.048829 17.128906 5.000001 16.875 5 L 10.185547 5 C 9.957682 5.14974 9.736328 5.299479 9.521484 5.449219 C 9.306641 5.598959 9.086914 5.732423 8.862305 5.849609 C 8.637695 5.966798 8.40332 6.062826 8.15918 6.137695 C 7.915039 6.212565 7.649739 6.25 7.363281 6.25 L 1.25 6.25 L 1.25 15.625 C 1.25 15.878906 1.298828 16.119791 1.396484 16.347656 C 1.494141 16.575521 1.629232 16.775717 1.801758 16.948242 C 1.974284 17.120768 2.174479 17.255859 2.402344 17.353516 C 2.630208 17.451172 2.871094 17.5 3.125 17.5 L 7.900391 17.5 C 8.011067 17.721354 8.129883 17.936197 8.256836 18.144531 C 8.383789 18.352865 8.522135 18.554688 8.671875 18.75 Z M 7.363281 5 C 7.539062 5.000001 7.701823 4.977215 7.851562 4.931641 C 8.001302 4.886068 8.147786 4.825847 8.291016 4.750977 C 8.434244 4.676107 8.570963 4.5931 8.701172 4.501953 C 8.83138 4.410808 8.964844 4.316406 9.101562 4.21875 C 8.951822 4.016928 8.805338 3.813477 8.662109 3.608398 C 8.51888 3.40332 8.36263 3.219402 8.193359 3.056641 C 8.024088 2.893881 7.833658 2.760418 7.62207 2.65625 C 7.410481 2.552084 7.161458 2.5 6.875 2.5 L 3.125 2.5 C 2.871094 2.5 2.630208 2.548828 2.402344 2.646484 C 2.174479 2.744141 1.974284 2.879232 1.801758 3.051758 C 1.629232 3.224285 1.494141 3.42448 1.396484 3.652344 C 1.298828 3.880209 1.25 4.121094 1.25 4.375 L 1.25 5 Z M 8.75 14.375 C 8.75 13.600261 8.898111 12.871094 9.194336 12.1875 C 9.49056 11.503906 9.892578 10.908203 10.400391 10.400391 C 10.908203 9.892578 11.503906 9.490561 12.1875 9.194336 C 12.871093 8.898112 13.60026 8.75 14.375 8.75 C 14.889322 8.75 15.385741 8.816732 15.864258 8.950195 C 16.342773 9.083659 16.790363 9.272461 17.207031 9.516602 C 17.623697 9.760742 18.004557 10.055339 18.349609 10.400391 C 18.69466 10.745443 18.989258 11.126303 19.233398 11.542969 C 19.477539 11.959636 19.66634 12.407227 19.799805 12.885742 C 19.933268 13.364258 20 13.860678 20 14.375 C 20 15.14974 19.851887 15.878906 19.555664 16.5625 C 19.259439 17.246094 18.857422 17.841797 18.349609 18.349609 C 17.841797 18.857422 17.246094 19.259439 16.5625 19.555664 C 15.878906 19.851889 15.149739 20 14.375 20 C 13.59375 20 12.861328 19.853516 12.177734 19.560547 C 11.494141 19.267578 10.898438 18.867188 10.390625 18.359375 C 9.882812 17.851562 9.482422 17.255859 9.189453 16.572266 C 8.896484 15.888672 8.75 15.15625 8.75 14.375 Z M 16.875 13.75 C 17.04427 13.75 17.190754 13.688151 17.314453 13.564453 C 17.43815 13.440756 17.5 13.294271 17.5 13.125 L 17.5 11.25 C 17.5 11.080729 17.43815 10.934245 17.314453 10.810547 C 17.190754 10.68685 17.04427 10.625 16.875 10.625 C 16.751301 10.625 16.650391 10.647787 16.572266 10.693359 C 16.494141 10.738933 16.430664 10.799154 16.381836 10.874023 C 16.333008 10.948894 16.298828 11.035156 16.279297 11.132812 C 16.259766 11.230469 16.25 11.331381 16.25 11.435547 C 15.94401 11.272787 15.642902 11.149089 15.34668 11.064453 C 15.050455 10.979818 14.726562 10.9375 14.375 10.9375 C 14.140625 10.9375 13.901367 10.961914 13.657227 11.010742 C 13.413086 11.05957 13.173828 11.131186 12.939453 11.225586 C 12.705078 11.319987 12.482096 11.43392 12.270508 11.567383 C 12.058919 11.700847 11.875 11.855469 11.71875 12.03125 C 11.660156 12.096354 11.614583 12.163086 11.582031 12.231445 C 11.549479 12.299805 11.533203 12.379558 11.533203 12.470703 C 11.533203 12.646484 11.595052 12.796225 11.71875 12.919922 C 11.842447 13.04362 11.992188 13.105469 12.167969 13.105469 C 12.278645 13.105469 12.39746 13.058269 12.524414 12.963867 C 12.651366 12.869467 12.799479 12.763672 12.96875 12.646484 C 13.138021 12.529297 13.334961 12.423503 13.55957 12.329102 C 13.78418 12.234701 14.049479 12.1875 14.355469 12.1875 C 14.583333 12.1875 14.794922 12.211914 14.990234 12.260742 C 15.185547 12.30957 15.384114 12.389323 15.585938 12.5 L 15.332031 12.5 C 15.214844 12.5 15.099283 12.504883 14.985352 12.514648 C 14.871419 12.524414 14.76888 12.550456 14.677734 12.592773 C 14.586588 12.635092 14.513346 12.698568 14.458008 12.783203 C 14.402669 12.867839 14.375 12.981771 14.375 13.125 C 14.375 13.294271 14.436849 13.440756 14.560547 13.564453 C 14.684244 13.688151 14.830729 13.75 15 13.75 Z M 12.5 17.314453 C 12.805989 17.477213 13.107096 17.600912 13.40332 17.685547 C 13.699544 17.770182 14.023438 17.8125 14.375 17.8125 C 14.609375 17.8125 14.85026 17.788086 15.097656 17.739258 C 15.345051 17.69043 15.584309 17.618814 15.81543 17.524414 C 16.046549 17.430014 16.266275 17.31608 16.474609 17.182617 C 16.682941 17.049154 16.868488 16.894531 17.03125 16.71875 C 17.154947 16.588541 17.216797 16.438803 17.216797 16.269531 C 17.216797 16.100262 17.154947 15.953776 17.03125 15.830078 C 16.907551 15.706381 16.761066 15.644531 16.591797 15.644531 C 16.461588 15.644531 16.334635 15.691732 16.210938 15.786133 C 16.087238 15.880534 15.94401 15.986328 15.78125 16.103516 C 15.618489 16.220703 15.426432 16.326498 15.205078 16.420898 C 14.983724 16.515299 14.713541 16.5625 14.394531 16.5625 C 14.166666 16.5625 13.955078 16.538086 13.759766 16.489258 C 13.564453 16.44043 13.365885 16.360678 13.164062 16.25 L 13.417969 16.25 C 13.528646 16.25 13.64095 16.245117 13.754883 16.235352 C 13.868814 16.225586 13.971354 16.199545 14.0625 16.157227 C 14.153646 16.114908 14.228516 16.051432 14.287109 15.966797 C 14.345703 15.882162 14.375 15.768229 14.375 15.625 C 14.375 15.455729 14.31315 15.309245 14.189453 15.185547 C 14.065754 15.06185 13.91927 15 13.75 15 L 11.875 15 C 11.705729 15 11.559244 15.06185 11.435547 15.185547 C 11.311849 15.309245 11.25 15.455729 11.25 15.625 L 11.25 17.5 C 11.25 17.669271 11.311849 17.815756 11.435547 17.939453 C 11.559244 18.06315 11.705729 18.125 11.875 18.125 C 11.998697 18.125 12.099609 18.102213 12.177734 18.056641 C 12.255859 18.011068 12.319336 17.950846 12.368164 17.875977 C 12.416992 17.801107 12.451172 17.714844 12.470703 17.617188 C 12.490234 17.519531 12.5 17.418619 12.5 17.314453 Z " />
|
|
</controls:SettingsExpander.HeaderIcon>
|
|
<controls:SettingsExpander.Items>
|
|
<controls:SettingsCard
|
|
ActionIcon="Add"
|
|
Description="{x:Bind domain:Translator.SettingsConfigureSpecialFolders_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsConfigureSpecialFolders_Title}"
|
|
IsActionIconVisible="True">
|
|
<controls:SettingsCard.Content>
|
|
<Button Command="{x:Bind ViewModel.SetupSpecialFoldersCommand}" Content="{x:Bind domain:Translator.SettingConfigureSpecialFolders_Button}" />
|
|
</controls:SettingsCard.Content>
|
|
</controls:SettingsCard>
|
|
<controls:SettingsCard
|
|
HorizontalContentAlignment="Stretch"
|
|
VerticalContentAlignment="Stretch"
|
|
ContentAlignment="Vertical">
|
|
<ScrollViewer>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="200" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Headers -->
|
|
<Grid Grid.Column="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<TextBlock
|
|
FontWeight="SemiBold"
|
|
Text="Synchronize"
|
|
TextWrapping="Wrap" />
|
|
<TextBlock
|
|
Grid.Column="1"
|
|
FontWeight="SemiBold"
|
|
Text="Unread Badge"
|
|
TextWrapping="Wrap" />
|
|
</Grid>
|
|
|
|
<!-- TODO: Items here are draggable. Which is causing tree view to crash. -->
|
|
<muxc:TreeView
|
|
x:Name="FolderTreeView"
|
|
Grid.Row="1"
|
|
Grid.ColumnSpan="2"
|
|
CanDragItems="False"
|
|
CanReorderItems="False"
|
|
ItemTemplate="{StaticResource FolderStructureMenuFlyoutItemTemplate}"
|
|
ItemsSource="{x:Bind ViewModel.CurrentFolders, Mode=OneWay}"
|
|
SelectionMode="None" />
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</controls:SettingsCard>
|
|
</controls:SettingsExpander.Items>
|
|
</controls:SettingsExpander>
|
|
|
|
|
|
<controls:SettingsExpander Description="{x:Bind domain:Translator.SettingsNotificationsAndTaskbar_Description}" Header="{x:Bind domain:Translator.SettingsNotificationsAndTaskbar_Title}">
|
|
<controls:SettingsExpander.HeaderIcon>
|
|
<PathIcon
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Data="F1 M 8.125 16.25 C 7.871094 16.25 7.630208 16.201172 7.402344 16.103516 C 7.174479 16.005859 6.974283 15.870769 6.801758 15.698242 C 6.629231 15.525717 6.494141 15.325521 6.396484 15.097656 C 6.298828 14.869792 6.25 14.628906 6.25 14.375 L 6.25 5.625 C 6.25 5.371094 6.298828 5.130209 6.396484 4.902344 C 6.494141 4.67448 6.629231 4.474285 6.801758 4.301758 C 6.974283 4.129232 7.174479 3.994141 7.402344 3.896484 C 7.630208 3.798828 7.871094 3.75 8.125 3.75 L 18.125 3.75 C 18.378906 3.75 18.619791 3.798828 18.847656 3.896484 C 19.07552 3.994141 19.275715 4.129232 19.448242 4.301758 C 19.620768 4.474285 19.755859 4.67448 19.853516 4.902344 C 19.951172 5.130209 20 5.371094 20 5.625 L 20 14.375 C 20 14.628906 19.951172 14.869792 19.853516 15.097656 C 19.755859 15.325521 19.620768 15.525717 19.448242 15.698242 C 19.275715 15.870769 19.07552 16.005859 18.847656 16.103516 C 18.619791 16.201172 18.378906 16.25 18.125 16.25 Z M 18.125 15 C 18.29427 15 18.440754 14.938151 18.564453 14.814453 C 18.68815 14.690756 18.75 14.544271 18.75 14.375 L 18.75 5.625 C 18.75 5.455729 18.68815 5.309245 18.564453 5.185547 C 18.440754 5.06185 18.29427 5.000001 18.125 5 L 8.125 5 C 7.955729 5.000001 7.809245 5.06185 7.685547 5.185547 C 7.561849 5.309245 7.5 5.455729 7.5 5.625 L 7.5 14.375 C 7.5 14.544271 7.561849 14.690756 7.685547 14.814453 C 7.809245 14.938151 7.955729 15 8.125 15 Z M 0.625 7.5 C 0.455729 7.5 0.309245 7.438151 0.185547 7.314453 C 0.061849 7.190756 0 7.044271 0 6.875 C 0 6.705729 0.061849 6.559245 0.185547 6.435547 C 0.309245 6.31185 0.455729 6.25 0.625 6.25 L 4.375 6.25 C 4.544271 6.25 4.690755 6.31185 4.814453 6.435547 C 4.938151 6.559245 5 6.705729 5 6.875 C 5 7.044271 4.938151 7.190756 4.814453 7.314453 C 4.690755 7.438151 4.544271 7.5 4.375 7.5 Z M 9.375 7.5 C 9.205729 7.5 9.059244 7.438151 8.935547 7.314453 C 8.811849 7.190756 8.75 7.044271 8.75 6.875 C 8.75 6.705729 8.811849 6.559245 8.935547 6.435547 C 9.059244 6.31185 9.205729 6.25 9.375 6.25 L 16.875 6.25 C 17.04427 6.25 17.190754 6.31185 17.314453 6.435547 C 17.43815 6.559245 17.5 6.705729 17.5 6.875 C 17.5 7.044271 17.43815 7.190756 17.314453 7.314453 C 17.190754 7.438151 17.04427 7.5 16.875 7.5 Z M 1.875 10 C 1.705729 10 1.559245 9.938151 1.435547 9.814453 C 1.311849 9.690756 1.25 9.544271 1.25 9.375 C 1.25 9.205729 1.311849 9.059245 1.435547 8.935547 C 1.559245 8.81185 1.705729 8.75 1.875 8.75 L 4.375 8.75 C 4.544271 8.75 4.690755 8.81185 4.814453 8.935547 C 4.938151 9.059245 5 9.205729 5 9.375 C 5 9.544271 4.938151 9.690756 4.814453 9.814453 C 4.690755 9.938151 4.544271 10 4.375 10 Z M 9.375 10 C 9.205729 10 9.059244 9.938151 8.935547 9.814453 C 8.811849 9.690756 8.75 9.544271 8.75 9.375 C 8.75 9.205729 8.811849 9.059245 8.935547 8.935547 C 9.059244 8.81185 9.205729 8.75 9.375 8.75 L 10.625 8.75 C 10.794271 8.75 10.940755 8.81185 11.064453 8.935547 C 11.18815 9.059245 11.25 9.205729 11.25 9.375 C 11.25 9.544271 11.18815 9.690756 11.064453 9.814453 C 10.940755 9.938151 10.794271 10 10.625 10 Z M 13.75 13.75 C 13.574219 13.75 13.40983 13.717448 13.256836 13.652344 C 13.103841 13.58724 12.972005 13.49935 12.861328 13.388672 C 12.75065 13.277995 12.66276 13.146159 12.597656 12.993164 C 12.532552 12.84017 12.5 12.675781 12.5 12.5 L 12.5 10 C 12.5 9.824219 12.532552 9.661459 12.597656 9.511719 C 12.66276 9.361979 12.752278 9.230144 12.866211 9.116211 C 12.980143 9.002279 13.111979 8.912761 13.261719 8.847656 C 13.411458 8.782553 13.574219 8.75 13.75 8.75 L 16.25 8.75 C 16.41927 8.75 16.580402 8.782553 16.733398 8.847656 C 16.886393 8.912761 17.019855 9.002279 17.133789 9.116211 C 17.247721 9.230144 17.337238 9.363607 17.402344 9.516602 C 17.467447 9.669597 17.5 9.830729 17.5 10 L 17.5 12.5 C 17.5 12.675781 17.467447 12.838542 17.402344 12.988281 C 17.337238 13.138021 17.247721 13.269857 17.133789 13.383789 C 17.019855 13.497722 16.88802 13.58724 16.738281 13.652344 C 16.588541 13.717448 16.425781 13.75 16.25 13.75 Z M 13.75 10 L 13.75 12.5 L 16.25 12.5 L 16.25 10 Z M 3.125 12.5 C 2.955729 12.5 2.809245 12.438151 2.685547 12.314453 C 2.561849 12.190756 2.5 12.044271 2.5 11.875 C 2.5 11.705729 2.561849 11.559245 2.685547 11.435547 C 2.809245 11.31185 2.955729 11.25 3.125 11.25 L 4.375 11.25 C 4.544271 11.25 4.690755 11.31185 4.814453 11.435547 C 4.938151 11.559245 5 11.705729 5 11.875 C 5 12.044271 4.938151 12.190756 4.814453 12.314453 C 4.690755 12.438151 4.544271 12.5 4.375 12.5 Z M 9.375 12.5 C 9.205729 12.5 9.059244 12.438151 8.935547 12.314453 C 8.811849 12.190756 8.75 12.044271 8.75 11.875 C 8.75 11.705729 8.811849 11.559245 8.935547 11.435547 C 9.059244 11.31185 9.205729 11.25 9.375 11.25 L 10.625 11.25 C 10.794271 11.25 10.940755 11.31185 11.064453 11.435547 C 11.18815 11.559245 11.25 11.705729 11.25 11.875 C 11.25 12.044271 11.18815 12.190756 11.064453 12.314453 C 10.940755 12.438151 10.794271 12.5 10.625 12.5 Z " />
|
|
</controls:SettingsExpander.HeaderIcon>
|
|
<controls:SettingsExpander.Items>
|
|
<controls:SettingsCard Description="{x:Bind domain:Translator.SettingsNotifications_Description}" Header="{x:Bind domain:Translator.SettingsNotifications_Title}">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 0 0 L 20 0 L 20 16.25 L 13.75 16.25 L 10 20 L 6.25 16.25 L 0 16.25 Z M 16.25 7.5 L 3.75 7.5 L 3.75 8.75 L 16.25 8.75 Z M 16.25 3.75 L 3.75 3.75 L 3.75 5 L 16.25 5 Z M 11.25 11.25 L 3.75 11.25 L 3.75 12.5 L 11.25 12.5 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.AreNotificationsEnabled, Mode=TwoWay}" />
|
|
</controls:SettingsCard>
|
|
<controls:SettingsCard Description="{x:Bind domain:Translator.SettingsTaskbarBadge_Description}" Header="{x:Bind domain:Translator.SettingsTaskbarBadge_Title}">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 3.330078 10 C 3.330078 9.388021 3.409831 8.797201 3.569336 8.227539 C 3.728841 7.657879 3.95345 7.125652 4.243164 6.630859 C 4.532877 6.136068 4.879557 5.68685 5.283203 5.283203 C 5.686849 4.879559 6.136067 4.532879 6.630859 4.243164 C 7.125651 3.953451 7.657877 3.728842 8.227539 3.569336 C 8.7972 3.409832 9.388021 3.330078 10 3.330078 C 10.611979 3.330078 11.202799 3.409832 11.772461 3.569336 C 12.342121 3.728842 12.874348 3.953451 13.369141 4.243164 C 13.863932 4.532879 14.31315 4.879559 14.716797 5.283203 C 15.120441 5.68685 15.467121 6.136068 15.756836 6.630859 C 16.046549 7.125652 16.271158 7.657879 16.430664 8.227539 C 16.590168 8.797201 16.669922 9.388021 16.669922 10 C 16.669922 10.611979 16.590168 11.2028 16.430664 11.772461 C 16.271158 12.342123 16.046549 12.87435 15.756836 13.369141 C 15.467121 13.863933 15.120441 14.313151 14.716797 14.716797 C 14.31315 15.120443 13.863932 15.467123 13.369141 15.756836 C 12.874348 16.046551 12.342121 16.27116 11.772461 16.430664 C 11.202799 16.59017 10.611979 16.669922 10 16.669922 C 9.388021 16.669922 8.7972 16.59017 8.227539 16.430664 C 7.657877 16.27116 7.125651 16.046551 6.630859 15.756836 C 6.136067 15.467123 5.686849 15.120443 5.283203 14.716797 C 4.879557 14.313151 4.532877 13.863933 4.243164 13.369141 C 3.95345 12.87435 3.728841 12.342123 3.569336 11.772461 C 3.409831 11.2028 3.330078 10.611979 3.330078 10 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsTaskbarBadgeEnabled, Mode=TwoWay}" />
|
|
</controls:SettingsCard>
|
|
</controls:SettingsExpander.Items>
|
|
</controls:SettingsExpander>
|
|
|
|
|
|
|
|
<!-- TODO -->
|
|
<!--<controls:SettingsCard
|
|
Header="Special Folders"
|
|
IsClickEnabled="True"
|
|
Command="{x:Bind ViewModel.SpecialFoldersCommand}"
|
|
Description="Setup functional folders for Wino to work with like Spam, Trash, Archive etc.">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 3.056641 18.75 C 2.646484 18.75 2.255859 18.666992 1.884766 18.500977 C 1.513672 18.334961 1.189779 18.113607 0.913086 17.836914 C 0.636393 17.560221 0.415039 17.236328 0.249023 16.865234 C 0.083008 16.494141 0 16.103516 0 15.693359 L 0 4.306641 C 0 3.896484 0.083008 3.505859 0.249023 3.134766 C 0.415039 2.763672 0.636393 2.439779 0.913086 2.163086 C 1.189779 1.886395 1.513672 1.665039 1.884766 1.499023 C 2.255859 1.333008 2.646484 1.25 3.056641 1.25 L 6.875 1.25 C 7.324219 1.25 7.709961 1.319988 8.032227 1.459961 C 8.354492 1.599936 8.645833 1.787109 8.90625 2.021484 C 9.166666 2.255859 9.407552 2.522787 9.628906 2.822266 C 9.85026 3.121746 10.078125 3.43099 10.3125 3.75 L 15.673828 3.75 C 16.077473 3.75 16.464844 3.831381 16.835938 3.994141 C 17.207031 4.156902 17.532551 4.376629 17.8125 4.65332 C 18.092447 4.930014 18.317057 5.250651 18.486328 5.615234 C 18.655598 5.979818 18.743488 6.363933 18.75 6.767578 C 19.055988 7.008464 19.293619 7.301433 19.462891 7.646484 C 19.63216 7.991537 19.716797 8.359375 19.716797 8.75 C 19.716797 8.808594 19.716797 8.865561 19.716797 8.920898 C 19.716797 8.976237 19.710285 9.033203 19.697266 9.091797 L 18.730469 16.054688 C 18.678385 16.425781 18.561197 16.775717 18.378906 17.104492 C 18.196613 17.433268 17.96875 17.719727 17.695312 17.963867 C 17.421875 18.208008 17.112629 18.400064 16.767578 18.540039 C 16.422525 18.680014 16.061197 18.75 15.683594 18.75 Z M 17.392578 6.259766 C 17.327473 6.070964 17.236328 5.900065 17.119141 5.74707 C 17.001953 5.594076 16.865234 5.46224 16.708984 5.351562 C 16.552734 5.240886 16.383463 5.154623 16.201172 5.092773 C 16.018879 5.030926 15.826822 5.000001 15.625 5 L 9.6875 5 L 8.378906 3.251953 C 8.203125 3.017578 7.981771 2.83366 7.714844 2.700195 C 7.447917 2.566732 7.167969 2.5 6.875 2.5 L 3.125 2.5 C 2.871094 2.5 2.630208 2.548828 2.402344 2.646484 C 2.174479 2.744141 1.974284 2.879232 1.801758 3.051758 C 1.629232 3.224285 1.494141 3.42448 1.396484 3.652344 C 1.298828 3.880209 1.25 4.121094 1.25 4.375 L 1.25 15.625 C 1.25 15.664062 1.251628 15.701498 1.254883 15.737305 C 1.258138 15.773112 1.259766 15.810547 1.259766 15.849609 L 2.832031 8.242188 C 2.890625 7.95573 2.996419 7.690431 3.149414 7.446289 C 3.302409 7.202149 3.487956 6.992188 3.706055 6.816406 C 3.924154 6.640626 4.168294 6.502279 4.438477 6.401367 C 4.708659 6.300456 4.990234 6.25 5.283203 6.25 L 17.226562 6.25 C 17.259113 6.25 17.286783 6.25 17.30957 6.25 C 17.332355 6.25 17.360025 6.253256 17.392578 6.259766 Z M 15.634766 17.5 C 15.869141 17.5 16.092121 17.459311 16.303711 17.37793 C 16.515299 17.296549 16.704102 17.182617 16.870117 17.036133 C 17.036133 16.889648 17.172852 16.71875 17.280273 16.523438 C 17.387695 16.328125 17.457682 16.113281 17.490234 15.878906 L 18.457031 8.925781 C 18.463541 8.893229 18.466797 8.863933 18.466797 8.837891 C 18.466797 8.81185 18.466797 8.782553 18.466797 8.75 C 18.466797 8.580729 18.434244 8.419597 18.369141 8.266602 C 18.304035 8.113607 18.216145 7.980144 18.105469 7.866211 C 17.994791 7.752279 17.864582 7.662762 17.714844 7.597656 C 17.565104 7.532553 17.402344 7.5 17.226562 7.5 L 5.283203 7.5 C 5.133463 7.5 4.991862 7.524414 4.858398 7.573242 C 4.724935 7.62207 4.602864 7.69043 4.492188 7.77832 C 4.38151 7.866211 4.287109 7.972006 4.208984 8.095703 C 4.130859 8.219401 4.078776 8.352865 4.052734 8.496094 L 2.246094 17.275391 C 2.526042 17.425131 2.81901 17.5 3.125 17.5 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
</controls:SettingsCard>-->
|
|
|
|
<controls:SettingsCard
|
|
Command="{x:Bind ViewModel.EditSignatureCommand}"
|
|
Description="{x:Bind domain:Translator.SettingsSignature_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsSignature_Title}"
|
|
IsClickEnabled="True">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 17.060547 2.832031 C 17.151691 2.884115 17.226562 2.958984 17.285156 3.056641 C 17.34375 3.154297 17.373047 3.258465 17.373047 3.369141 C 17.373047 3.421225 17.366535 3.470053 17.353516 3.515625 C 17.340494 3.561199 17.324219 3.606771 17.304688 3.652344 L 10.400391 17.470703 C 10.341797 17.5944 10.25065 17.685547 10.126953 17.744141 L 8.4375 18.59375 C 8.229166 18.697916 8.004557 18.75 7.763672 18.75 C 7.73112 18.75 7.700195 18.75 7.670898 18.75 C 7.641602 18.75 7.610677 18.746744 7.578125 18.740234 L 7.119141 19.658203 C 7.067057 19.762369 6.99056 19.845377 6.889648 19.907227 C 6.788736 19.969076 6.679687 20 6.5625 20 C 6.393229 20 6.246745 19.93815 6.123047 19.814453 C 5.999349 19.690756 5.9375 19.544271 5.9375 19.375 C 5.9375 19.296875 5.960286 19.199219 6.005859 19.082031 C 6.051432 18.964844 6.105143 18.842773 6.166992 18.71582 C 6.228841 18.588867 6.292317 18.470053 6.357422 18.359375 C 6.422526 18.248697 6.471354 18.157553 6.503906 18.085938 C 6.334635 17.825521 6.25 17.542318 6.25 17.236328 L 6.25 15.625 C 6.25 15.520834 6.272786 15.426433 6.318359 15.341797 L 11.943359 4.091797 L 11.308594 3.779297 L 8.994141 8.408203 C 8.942057 8.51237 8.86556 8.595378 8.764648 8.657227 C 8.663736 8.719076 8.554688 8.75 8.4375 8.75 C 8.268229 8.75 8.121744 8.688151 7.998047 8.564453 C 7.874349 8.440756 7.8125 8.294271 7.8125 8.125 C 7.8125 8.040365 7.835286 7.945964 7.880859 7.841797 L 10.214844 3.173828 C 10.31901 2.965496 10.458984 2.801107 10.634766 2.680664 C 10.810547 2.560223 11.015625 2.5 11.25 2.5 C 11.477864 2.5 11.694336 2.55534 11.899414 2.666016 C 12.104492 2.776693 12.304688 2.880859 12.5 2.978516 L 13.193359 1.591797 C 13.245441 1.481121 13.321939 1.396484 13.422852 1.337891 C 13.523763 1.279297 13.632812 1.25 13.75 1.25 C 13.834635 1.25 13.90625 1.263021 13.964844 1.289062 C 14.042969 1.132812 14.119466 0.978191 14.194336 0.825195 C 14.269205 0.672201 14.353841 0.533855 14.448242 0.410156 C 14.542643 0.286459 14.658202 0.187176 14.794922 0.112305 C 14.93164 0.037436 15.104166 0 15.3125 0 C 15.520833 0 15.7194 0.048828 15.908203 0.146484 L 16.826172 0.605469 C 17.034504 0.709637 17.198893 0.847982 17.319336 1.020508 C 17.439777 1.193035 17.5 1.39974 17.5 1.640625 C 17.5 1.86198 17.449543 2.068686 17.348633 2.260742 C 17.247721 2.452801 17.151691 2.64323 17.060547 2.832031 Z M 15.087891 1.845703 L 15.9375 2.265625 L 16.220703 1.699219 L 15.371094 1.279297 Z M 15.908203 3.652344 L 14.033203 2.714844 L 7.5 15.771484 L 7.5 17.236328 C 7.5 17.307943 7.526041 17.369791 7.578125 17.421875 C 7.630208 17.473959 7.692057 17.5 7.763672 17.5 C 7.789713 17.5 7.843424 17.483725 7.924805 17.451172 C 8.006185 17.418619 8.100586 17.376303 8.208008 17.324219 C 8.31543 17.272135 8.429361 17.21517 8.549805 17.15332 C 8.670247 17.091471 8.785807 17.03125 8.896484 16.972656 C 9.007161 16.914062 9.104817 16.861979 9.189453 16.816406 C 9.274088 16.770834 9.335938 16.738281 9.375 16.71875 Z M 17.5 7.5 C 17.845051 7.5 18.168945 7.565104 18.47168 7.695312 C 18.774414 7.825521 19.039713 8.004558 19.267578 8.232422 C 19.495441 8.460287 19.674479 8.725586 19.804688 9.02832 C 19.934895 9.331055 20 9.654948 20 10 C 20 10.345053 19.934895 10.668945 19.804688 10.97168 C 19.674479 11.274414 19.495441 11.539714 19.267578 11.767578 C 19.039713 11.995443 18.774414 12.174479 18.47168 12.304688 C 18.168945 12.434896 17.845051 12.5 17.5 12.5 L 14.6875 12.5 L 15.3125 11.25 L 17.5 11.25 C 17.675781 11.25 17.838541 11.217448 17.988281 11.152344 C 18.13802 11.08724 18.269855 10.997722 18.383789 10.883789 C 18.497721 10.769857 18.587238 10.638021 18.652344 10.488281 C 18.717447 10.338542 18.75 10.175781 18.75 10 C 18.75 9.824219 18.717447 9.661459 18.652344 9.511719 C 18.587238 9.361979 18.497721 9.230144 18.383789 9.116211 C 18.269855 9.002279 18.13802 8.912761 17.988281 8.847656 C 17.838541 8.782553 17.675781 8.75 17.5 8.75 C 17.330729 8.75 17.184244 8.688151 17.060547 8.564453 C 16.936848 8.440756 16.875 8.294271 16.875 8.125 C 16.875 7.95573 16.936848 7.809246 17.060547 7.685547 C 17.184244 7.56185 17.330729 7.5 17.5 7.5 Z M 1.25 15.625 C 1.25 16.054688 1.33138 16.459961 1.494141 16.84082 C 1.656901 17.22168 1.879883 17.553711 2.163086 17.836914 C 2.446289 18.120117 2.77832 18.3431 3.15918 18.505859 C 3.540039 18.668619 3.945312 18.75 4.375 18.75 L 4.804688 18.75 C 4.772135 18.847656 4.744466 18.948568 4.72168 19.052734 C 4.698893 19.1569 4.6875 19.264322 4.6875 19.375 C 4.6875 19.485678 4.698893 19.5931 4.72168 19.697266 C 4.744466 19.801432 4.772135 19.902344 4.804688 20 L 4.375 20 C 3.769531 20 3.201497 19.884439 2.670898 19.65332 C 2.140299 19.422201 1.67806 19.109701 1.28418 18.71582 C 0.890299 18.321939 0.577799 17.859701 0.34668 17.329102 C 0.11556 16.798502 0 16.230469 0 15.625 C 0 15.019531 0.11556 14.451498 0.34668 13.920898 C 0.577799 13.3903 0.890299 12.928061 1.28418 12.53418 C 1.67806 12.1403 2.140299 11.8278 2.670898 11.59668 C 3.201497 11.365561 3.769531 11.25 4.375 11.25 L 6.5625 11.25 L 5.9375 12.5 L 4.375 12.5 C 3.945312 12.5 3.540039 12.583008 3.15918 12.749023 C 2.77832 12.915039 2.446289 13.139648 2.163086 13.422852 C 1.879883 13.706055 1.656901 14.036459 1.494141 14.414062 C 1.33138 14.791667 1.25 15.195312 1.25 15.625 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsSignatureEnabled, Mode=TwoWay}" />
|
|
</controls:SettingsCard>
|
|
|
|
|
|
<controls:SettingsCard
|
|
Description="{x:Bind domain:Translator.SettingsFocusedInbox_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsFocusedInbox_Title}"
|
|
Visibility="{x:Bind ViewModel.IsFocusedInboxSupportedForAccount, Mode=OneWay}">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon Data="F1 M 1.875 4.6875 C 1.72526 4.335938 1.515299 4.025065 1.245117 3.754883 C 0.974935 3.484701 0.664062 3.27474 0.3125 3.125 C 0.664062 2.975262 0.974935 2.765301 1.245117 2.495117 C 1.515299 2.224936 1.72526 1.914062 1.875 1.5625 C 2.02474 1.914062 2.2347 2.224936 2.504883 2.495117 C 2.775065 2.765301 3.085938 2.975262 3.4375 3.125 C 3.085938 3.27474 2.775065 3.484701 2.504883 3.754883 C 2.2347 4.025065 2.02474 4.335938 1.875 4.6875 Z M 18.125 5.3125 C 18.274738 5.664062 18.484699 5.974936 18.754883 6.245117 C 19.025064 6.5153 19.335938 6.725261 19.6875 6.875 C 19.335938 7.02474 19.025064 7.234701 18.754883 7.504883 C 18.484699 7.775065 18.274738 8.085938 18.125 8.4375 C 17.97526 8.085938 17.765299 7.775065 17.495117 7.504883 C 17.224934 7.234701 16.914062 7.02474 16.5625 6.875 C 16.914062 6.725261 17.224934 6.5153 17.495117 6.245117 C 17.765299 5.974936 17.97526 5.664062 18.125 5.3125 Z M 14.375 6.25 C 14.06901 5.540365 13.649088 4.91862 13.115234 4.384766 C 12.58138 3.850912 11.959635 3.43099 11.25 3.125 C 11.959635 2.819012 12.58138 2.39909 13.115234 1.865234 C 13.649088 1.331381 14.06901 0.709637 14.375 0 C 14.680989 0.709637 15.100911 1.331381 15.634766 1.865234 C 16.168619 2.39909 16.790363 2.819012 17.5 3.125 C 16.790363 3.43099 16.168619 3.850912 15.634766 4.384766 C 15.100911 4.91862 14.680989 5.540365 14.375 6.25 Z M 14.375 1.894531 C 14.010416 2.356771 13.60026 2.766928 13.144531 3.125 C 13.60026 3.489584 14.010416 3.89974 14.375 4.355469 C 14.733072 3.89974 15.143229 3.489584 15.605469 3.125 C 15.143229 2.766928 14.733072 2.356771 14.375 1.894531 Z M 7.294922 7.666016 C 6.988932 7.666017 6.700846 7.60254 6.430664 7.475586 C 6.160481 7.348634 5.924479 7.177735 5.722656 6.962891 C 5.520833 6.748048 5.362956 6.500652 5.249023 6.220703 C 5.135091 5.940756 5.078125 5.651042 5.078125 5.351562 C 5.078125 4.967448 5.157877 4.607748 5.317383 4.272461 C 5.476888 3.937176 5.690104 3.644207 5.957031 3.393555 C 6.223958 3.142904 6.531575 2.944336 6.879883 2.797852 C 7.22819 2.651367 7.591146 2.578125 7.96875 2.578125 C 8.515625 2.578125 9.002278 2.693686 9.428711 2.924805 C 9.855143 3.155926 10.214844 3.460287 10.507812 3.837891 C 10.800781 4.215495 11.023763 4.645183 11.176758 5.126953 C 11.329752 5.608725 11.40625 6.100262 11.40625 6.601562 C 11.40625 7.285156 11.295572 7.924805 11.074219 8.520508 C 10.852864 9.116211 10.548502 9.658203 10.161133 10.146484 C 9.773763 10.634766 9.316406 11.066081 8.789062 11.44043 C 8.261719 11.814779 7.695312 12.128906 7.089844 12.382812 C 7.03125 12.408854 6.95638 12.421875 6.865234 12.421875 C 6.715495 12.421875 6.588542 12.368164 6.484375 12.260742 C 6.380208 12.15332 6.328125 12.02474 6.328125 11.875 C 6.328125 11.640625 6.438802 11.471354 6.660156 11.367188 C 7.154948 11.132812 7.612305 10.880534 8.032227 10.610352 C 8.452148 10.34017 8.819986 10.030925 9.135742 9.682617 C 9.451497 9.334311 9.708658 8.937175 9.907227 8.491211 C 10.105794 8.045248 10.234375 7.532553 10.292969 6.953125 C 10.299479 6.888021 10.304361 6.824545 10.307617 6.762695 C 10.310872 6.700848 10.3125 6.637371 10.3125 6.572266 C 10.3125 6.233725 10.263672 5.891928 10.166016 5.546875 C 10.068359 5.201824 9.921875 4.889324 9.726562 4.609375 C 9.53125 4.329428 9.287109 4.10319 8.994141 3.930664 C 8.701172 3.758139 8.359375 3.671875 7.96875 3.671875 C 7.747396 3.671875 7.529297 3.71582 7.314453 3.803711 C 7.099609 3.891602 6.907552 4.010417 6.738281 4.160156 C 6.56901 4.309896 6.432292 4.487306 6.328125 4.692383 C 6.223958 4.897462 6.171875 5.117188 6.171875 5.351562 C 6.171875 5.501303 6.201172 5.649414 6.259766 5.795898 C 6.318359 5.942383 6.398112 6.072592 6.499023 6.186523 C 6.599935 6.300456 6.720377 6.393229 6.860352 6.464844 C 7.000325 6.536459 7.148438 6.572266 7.304688 6.572266 C 7.460938 6.572266 7.584635 6.547852 7.675781 6.499023 C 7.766927 6.450195 7.841797 6.386719 7.900391 6.308594 C 7.958984 6.230469 8.006185 6.149089 8.041992 6.064453 C 8.077799 5.979818 8.116861 5.898438 8.15918 5.820312 C 8.201497 5.742188 8.256836 5.678712 8.325195 5.629883 C 8.393555 5.581056 8.486328 5.556642 8.603516 5.556641 C 8.753255 5.556642 8.883463 5.61198 8.994141 5.722656 C 9.104817 5.833334 9.160156 5.963542 9.160156 6.113281 C 9.160156 6.145834 9.153646 6.188151 9.140625 6.240234 C 9.088541 6.448568 9.002278 6.640626 8.881836 6.816406 C 8.761393 6.992188 8.619791 7.143556 8.457031 7.270508 C 8.294271 7.397462 8.113606 7.495118 7.915039 7.563477 C 7.716471 7.631837 7.509765 7.666017 7.294922 7.666016 Z M 15.888672 8.75 L 18.564453 11.435547 L 17.685547 12.314453 L 16.25 10.888672 L 16.25 20 L 2.5 20 L 2.5 10.888672 L 1.064453 12.314453 L 0.185547 11.435547 L 2.861328 8.75 L 8.28125 8.75 C 8.053385 9.016928 7.801106 9.25293 7.524414 9.458008 C 7.247721 9.663086 6.953125 9.84375 6.640625 10 L 3.75 10 L 3.75 18.75 L 15 18.75 L 15 10 L 11.767578 10 C 11.878255 9.798178 11.979166 9.5931 12.070312 9.384766 C 12.161458 9.176433 12.242838 8.964844 12.314453 8.75 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsFocusedInboxEnabled, Mode=TwoWay}" />
|
|
</controls:SettingsCard>
|
|
|
|
<controls:SettingsCard
|
|
Description="{x:Bind domain:Translator.SettingsAccountManagementAppendMessage_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsAccountManagementAppendMessage_Title}"
|
|
Visibility="{x:Bind ViewModel.IsAppendMessageSettingVisible, Mode=OneWay}">
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<PathIcon
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Data="F1 M 0 5.625 C 0 4.850261 0.148112 4.121094 0.444336 3.4375 C 0.74056 2.753906 1.142578 2.158203 1.650391 1.650391 C 2.158203 1.142578 2.753906 0.740561 3.4375 0.444336 C 4.121094 0.148113 4.85026 0 5.625 0 C 6.139323 0 6.635742 0.066732 7.114258 0.200195 C 7.592773 0.33366 8.040364 0.522461 8.457031 0.766602 C 8.873697 1.010742 9.254557 1.30534 9.599609 1.650391 C 9.944661 1.995443 10.239258 2.376303 10.483398 2.792969 C 10.727539 3.209637 10.916341 3.657227 11.049805 4.135742 C 11.183268 4.614259 11.25 5.110678 11.25 5.625 C 11.25 6.39974 11.101888 7.128907 10.805664 7.8125 C 10.509439 8.496094 10.107422 9.091797 9.599609 9.599609 C 9.091797 10.107422 8.496094 10.50944 7.8125 10.805664 C 7.128906 11.101889 6.399739 11.25 5.625 11.25 C 4.84375 11.25 4.111328 11.103516 3.427734 10.810547 C 2.744141 10.517578 2.148438 10.117188 1.640625 9.609375 C 1.132812 9.101562 0.732422 8.505859 0.439453 7.822266 C 0.146484 7.138672 0 6.40625 0 5.625 Z M 10.566406 15 C 10.214844 15 9.874674 14.936523 9.545898 14.80957 C 9.217122 14.682617 8.917643 14.510092 8.647461 14.291992 C 8.377278 14.073894 8.147786 13.815104 7.958984 13.515625 C 7.770182 13.216146 7.639974 12.893881 7.568359 12.548828 C 7.972005 12.431641 8.369141 12.278646 8.759766 12.089844 C 8.785807 12.324219 8.852539 12.542318 8.959961 12.744141 C 9.067383 12.945964 9.205729 13.121745 9.375 13.271484 C 9.544271 13.421225 9.736328 13.538412 9.951172 13.623047 C 10.166016 13.707683 10.390625 13.75 10.625 13.75 L 15.625 13.75 C 15.878906 13.75 16.119791 13.701172 16.347656 13.603516 C 16.57552 13.505859 16.775715 13.370769 16.948242 13.198242 C 17.120768 13.025717 17.255859 12.825521 17.353516 12.597656 C 17.451172 12.369792 17.5 12.128906 17.5 11.875 L 17.5 4.375 C 17.5 4.121094 17.451172 3.880209 17.353516 3.652344 C 17.255859 3.42448 17.120768 3.224285 16.948242 3.051758 C 16.775715 2.879232 16.57552 2.744141 16.347656 2.646484 C 16.119791 2.548828 15.878906 2.5 15.625 2.5 L 12.099609 2.5 C 11.988932 2.278646 11.870117 2.063803 11.743164 1.855469 C 11.616211 1.647137 11.477864 1.445312 11.328125 1.25 L 15.693359 1.25 C 16.103516 1.25 16.494141 1.333008 16.865234 1.499023 C 17.236328 1.665039 17.560221 1.886395 17.836914 2.163086 C 18.113605 2.439779 18.334961 2.763672 18.500977 3.134766 C 18.666992 3.505859 18.75 3.896484 18.75 4.306641 L 18.75 11.943359 C 18.75 12.353516 18.666992 12.744141 18.500977 13.115234 C 18.334961 13.486328 18.113605 13.810222 17.836914 14.086914 C 17.560221 14.363607 17.236328 14.584961 16.865234 14.750977 C 16.494141 14.916992 16.103516 15 15.693359 15 Z M 5.625 8.828125 C 5.820312 8.828125 5.986328 8.759766 6.123047 8.623047 L 8.623047 6.123047 C 8.759766 5.986328 8.828125 5.820312 8.828125 5.625 C 8.828125 5.429688 8.759766 5.263672 8.623047 5.126953 L 6.123047 2.626953 C 5.986328 2.490234 5.820312 2.421875 5.625 2.421875 C 5.429688 2.421875 5.263672 2.490234 5.126953 2.626953 C 4.990234 2.763672 4.921875 2.929688 4.921875 3.125 C 4.921875 3.320312 4.990234 3.486328 5.126953 3.623047 L 6.503906 5 L 3.125 5 C 2.955729 5.000001 2.809245 5.06185 2.685547 5.185547 C 2.561849 5.309245 2.5 5.455729 2.5 5.625 C 2.5 5.794271 2.561849 5.940756 2.685547 6.064453 C 2.809245 6.188151 2.955729 6.25 3.125 6.25 L 6.503906 6.25 L 5.126953 7.626953 C 4.990234 7.763672 4.921875 7.929688 4.921875 8.125 C 4.921875 8.320312 4.990234 8.486328 5.126953 8.623047 C 5.263672 8.759766 5.429688 8.828125 5.625 8.828125 Z M 4.306641 18.75 C 3.896484 18.75 3.505859 18.666992 3.134766 18.500977 C 2.763672 18.334961 2.439779 18.113607 2.163086 17.836914 C 1.886393 17.560221 1.665039 17.236328 1.499023 16.865234 C 1.333008 16.494141 1.25 16.103516 1.25 15.693359 L 1.25 11.328125 C 1.445312 11.477865 1.647135 11.616211 1.855469 11.743164 C 2.063802 11.870117 2.278646 11.988933 2.5 12.099609 L 2.5 15.625 C 2.5 15.878906 2.548828 16.119791 2.646484 16.347656 C 2.744141 16.575521 2.879232 16.775717 3.051758 16.948242 C 3.224284 17.120768 3.424479 17.255859 3.652344 17.353516 C 3.880208 17.451172 4.121094 17.5 4.375 17.5 L 9.375 17.5 C 9.576822 17.5 9.76888 17.470703 9.951172 17.412109 C 10.133463 17.353516 10.302734 17.268881 10.458984 17.158203 C 10.615234 17.047525 10.751953 16.915689 10.869141 16.762695 C 10.986328 16.609701 11.077474 16.438803 11.142578 16.25 L 12.441406 16.25 C 12.369791 16.608072 12.237955 16.940104 12.045898 17.246094 C 11.853841 17.552084 11.621094 17.815756 11.347656 18.037109 C 11.074219 18.258463 10.768229 18.432617 10.429688 18.55957 C 10.091146 18.686523 9.739583 18.75 9.375 18.75 Z " />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsAppendMessageSettinEnabled, Mode=TwoWay}" />
|
|
</controls:SettingsCard>
|
|
|
|
<controls:SettingsCard
|
|
Margin="0,-4,0,0"
|
|
ActionIcon="{x:Null}"
|
|
ActionIconToolTip="{x:Bind domain:Translator.SettingsDeleteAccount_Title}"
|
|
Command="{x:Bind ViewModel.DeleteAccountCommand}"
|
|
Description="{x:Bind domain:Translator.SettingsDeleteAccount_Description}"
|
|
Header="{x:Bind domain:Translator.SettingsDeleteAccount_Title}">
|
|
<Button
|
|
Background="Red"
|
|
Command="{x:Bind ViewModel.DeleteAccountCommand}"
|
|
Content="{x:Bind domain:Translator.Buttons_Delete}" />
|
|
<controls:SettingsCard.HeaderIcon>
|
|
<SymbolIcon Symbol="Delete" />
|
|
</controls:SettingsCard.HeaderIcon>
|
|
</controls:SettingsCard>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</abstract:AccountDetailsPageAbstract>
|