Resolving warnings and treating warnings as errors in WinUI project. (#824)
This commit is contained in:
@@ -37,7 +37,7 @@ public sealed partial class AliasManagementPage : AliasManagementPageAbstract
|
||||
}
|
||||
}
|
||||
|
||||
private static (MailAccountAlias alias, X509Certificate2 cert) GetAliasAndSelectedCertificateForCombobox(object sender)
|
||||
private static (MailAccountAlias? alias, X509Certificate2? cert) GetAliasAndSelectedCertificateForCombobox(object sender)
|
||||
{
|
||||
var comboBox = sender as ComboBox;
|
||||
var alias = comboBox?.DataContext as MailAccountAlias;
|
||||
|
||||
@@ -89,7 +89,7 @@ public sealed partial class ContactsPage : ContactsPageAbstract
|
||||
ClearSelection();
|
||||
}
|
||||
|
||||
private void ViewModelPropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
private void ViewModelPropertyChanged(object? sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.PropertyName == nameof(ContactsPageViewModel.IsSelectionMode) && !ViewModel.IsSelectionMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user