Added setting to show/hide action bar in mail list
This commit is contained in:
@@ -155,5 +155,10 @@ namespace Wino.Core.Domain.Interfaces
|
||||
/// Setting: Gets or sets what should happen to server app when the client is terminated.
|
||||
/// </summary>
|
||||
ServerBackgroundMode ServerTerminationBehavior { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Setting: Whether the mail list action bar is enabled or not.
|
||||
/// </summary>
|
||||
bool IsMailListActionBarEnabled { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -519,7 +519,7 @@
|
||||
"SettingsRenameMergeAccount_Title": "Rename",
|
||||
"SettingsSemanticZoom_Description": "This will allow you to click on the headers in messages list and go to specific date",
|
||||
"SettingsSemanticZoom_Title": "Semantic Zoom for Date Headers",
|
||||
"SettingsShowPreviewText_Description": "Hide/show thepreview text.",
|
||||
"SettingsShowPreviewText_Description": "Hide/show the preview text.",
|
||||
"SettingsShowPreviewText_Title": "Show Preview Text",
|
||||
"SettingsShowSenderPictures_Description": "Hide/show the thumbnail sender pictures.",
|
||||
"SettingsShowSenderPictures_Title": "Show Sender Avatars",
|
||||
@@ -533,7 +533,9 @@
|
||||
"SettingsStore_Title": "Rate in Store",
|
||||
"SettingsThreads_Description": "Organize messages into conversation threads.",
|
||||
"SettingsThreads_Title": "Conversation Threading",
|
||||
"SettingsUnlinkAccounts_Description": "Remove the link between accounts. This will not delete your accounts.",
|
||||
"SettingsMailListActionBar_Description": "Hide/show action bar at top of message list.",
|
||||
"SettingsMailListActionBar_Title": "Show mail list actions",
|
||||
"SettingsUnlinkAccounts_Description": "Remove the link between accounts. his will not delete your accounts.",
|
||||
"SettingsUnlinkAccounts_Title": "Unlink Accounts",
|
||||
"SortingOption_Date": "by date",
|
||||
"SortingOption_Name": "by name",
|
||||
|
||||
14
Wino.Core.Domain/Translator.Designer.cs
generated
14
Wino.Core.Domain/Translator.Designer.cs
generated
@@ -2619,7 +2619,7 @@ namespace Wino.Core.Domain
|
||||
public static string SettingsSemanticZoom_Title => Resources.GetTranslatedString(@"SettingsSemanticZoom_Title");
|
||||
|
||||
/// <summary>
|
||||
/// Hide/show thepreview text.
|
||||
/// Hide/show the preview text.
|
||||
/// </summary>
|
||||
public static string SettingsShowPreviewText_Description => Resources.GetTranslatedString(@"SettingsShowPreviewText_Description");
|
||||
|
||||
@@ -2689,7 +2689,17 @@ namespace Wino.Core.Domain
|
||||
public static string SettingsThreads_Title => Resources.GetTranslatedString(@"SettingsThreads_Title");
|
||||
|
||||
/// <summary>
|
||||
/// Remove the link between accounts. This will not delete your accounts.
|
||||
/// Hide/show action bar at top of message list.
|
||||
/// </summary>
|
||||
public static string SettingsMailListActionBar_Description => Resources.GetTranslatedString(@"SettingsMailListActionBar_Description");
|
||||
|
||||
/// <summary>
|
||||
/// Show mail list actions
|
||||
/// </summary>
|
||||
public static string SettingsMailListActionBar_Title => Resources.GetTranslatedString(@"SettingsMailListActionBar_Title");
|
||||
|
||||
/// <summary>
|
||||
/// Remove the link between accounts. his will not delete your accounts.
|
||||
/// </summary>
|
||||
public static string SettingsUnlinkAccounts_Description => Resources.GetTranslatedString(@"SettingsUnlinkAccounts_Description");
|
||||
|
||||
|
||||
@@ -64,6 +64,12 @@ namespace Wino.Core.UWP.Services
|
||||
set => SetPropertyAndSave(nameof(IsThreadingEnabled), value);
|
||||
}
|
||||
|
||||
public bool IsMailListActionBarEnabled
|
||||
{
|
||||
get => _configurationService.Get(nameof(IsMailListActionBarEnabled), false);
|
||||
set => SetPropertyAndSave(nameof(IsMailListActionBarEnabled), value);
|
||||
}
|
||||
|
||||
public bool IsShowSenderPicturesEnabled
|
||||
{
|
||||
get => _configurationService.Get(nameof(IsShowSenderPicturesEnabled), true);
|
||||
|
||||
@@ -284,7 +284,7 @@
|
||||
Margin="0,5,5,0"
|
||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||
CornerRadius="8"
|
||||
Visibility="Collapsed">
|
||||
Visibility="{x:Bind ViewModel.PreferencesService.IsMailListActionBarEnabled}">
|
||||
<CommandBar
|
||||
HorizontalAlignment="Left"
|
||||
DefaultLabelPosition="Collapsed"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user