Ignore task bar pinning errors.
This commit is contained in:
@@ -889,8 +889,15 @@ namespace Wino.Mail.ViewModels
|
|||||||
|
|
||||||
Messenger.Send(new NewSynchronizationRequested(options, SynchronizationSource.Client));
|
Messenger.Send(new NewSynchronizationRequested(options, SynchronizationSource.Client));
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
await _nativeAppService.PinAppToTaskbarAsync();
|
await _nativeAppService.PinAppToTaskbarAsync();
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Log.Error(ex, "Failed to pin Wino to taskbar.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Handle by messaging.
|
// TODO: Handle by messaging.
|
||||||
private async Task SetAccountAttentionAsync(Guid accountId, AccountAttentionReason reason)
|
private async Task SetAccountAttentionAsync(Guid accountId, AccountAttentionReason reason)
|
||||||
|
|||||||
Reference in New Issue
Block a user