Skip to content

Commit 83fd1d2

Browse files
committed
SEBWIN-1056: Integrated icon for verificator notification.
1 parent 264fdb0 commit 83fd1d2

5 files changed

Lines changed: 419 additions & 3 deletions

File tree

SafeExamBrowser.Client/Notifications/VerificatorNotification.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
77
*/
88

9+
using System;
910
using SafeExamBrowser.Core.Contracts.Notifications;
1011
using SafeExamBrowser.Core.Contracts.Notifications.Events;
1112
using SafeExamBrowser.Core.Contracts.Resources.Icons;
@@ -31,8 +32,7 @@ internal VerificatorNotification(IText text, IVerificator verificator)
3132
this.verificator = verificator;
3233

3334
CanActivate = true;
34-
// TODO: Load icon once available!
35-
// IconResource = new BitmapIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/VerificatorNotification.ico") };
35+
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/VerificatorNotification.xaml") };
3636
Tooltip = text.Get(TextKey.Notification_VerificatorTooltip);
3737
}
3838

0 commit comments

Comments
 (0)