Add safety null check 40/300140/2
authoramitpatel <amit.patel@samsung.com>
Tue, 17 Oct 2023 08:51:45 +0000 (14:21 +0530)
committeramitpatel <amit.patel@samsung.com>
Tue, 17 Oct 2023 09:04:58 +0000 (14:34 +0530)
Change-Id: Ie8a4fe143a2fc363160b3b863e70c7619bfe3526

Notifications/Views/BaseView.cs
packaging/org.tizen.notifications-1.0.0.tpk

index de8de03203eb1a8e7a821b10fa361e8b065812b4..4ed00504ca2a80db4f6817c389f949c6043eb783 100644 (file)
@@ -240,7 +240,8 @@ namespace Notifications.Views
                 noNotificationsText?.Dispose();
                 noNotificationsText = null;
 
-                notificationsView.SelectedItem = null;
+                if(notificationsView != null)
+                    notificationsView.SelectedItem = null;
                 notificationsView?.Dispose();
                 notificationsView = null;
 
index 466786250bff2852183cd3607b82f49e2eeb297d..fdece1f0fce2f62e76de5a06063f603e372d84e1 100644 (file)
Binary files a/packaging/org.tizen.notifications-1.0.0.tpk and b/packaging/org.tizen.notifications-1.0.0.tpk differ