chore: remove unused Notification fields icon_path_, has_icon_ (#43295)
Last use of `icon_path_` was removed on May 29, 2017 (c741b584
) Last use of `has_icon_` was removed on May 30, 2017 (5048425e
) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
dd1dcad81c
commit
997afe62f2
2 changed files with 1 additions and 6 deletions
|
@ -58,10 +58,7 @@ Notification::Notification(gin::Arguments* args) {
|
|||
opts.Get("title", &title_);
|
||||
opts.Get("subtitle", &subtitle_);
|
||||
opts.Get("body", &body_);
|
||||
has_icon_ = opts.Get("icon", &icon_);
|
||||
if (has_icon_) {
|
||||
opts.Get("icon", &icon_path_);
|
||||
}
|
||||
opts.Get("icon", &icon_);
|
||||
opts.Get("silent", &silent_);
|
||||
opts.Get("replyPlaceholder", &reply_placeholder_);
|
||||
opts.Get("urgency", &urgency_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue