Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
if (isExisted)
{
- (eventargs.Style["Active"] as NotificationEventArgs.ActiveStyleArgs).Button.Add(button);
+ NotificationEventArgs.ActiveStyleArgs activeStyle = eventargs.Style["Active"] as NotificationEventArgs.ActiveStyleArgs;
+ if (activeStyle != null)
+ {
+ activeStyle.Button.Add(button);
+ }
}
}
}
-}
\ No newline at end of file
+}
if (isExisted)
{
- (eventargs.Style["Active"] as NotificationEventArgs.ActiveStyleArgs).Reply = reply;
+ NotificationEventArgs.ActiveStyleArgs activeStyle = eventargs.Style["Active"] as NotificationEventArgs.ActiveStyleArgs;
+ if (activeStyle != null)
+ {
+ activeStyle.Reply = reply;
+ }
}
}
}