Skip to content

Commit

Permalink
Removed unused key and added summary value
Browse files Browse the repository at this point in the history
  • Loading branch information
AishwaryaNanna committed Aug 30, 2022
1 parent fbf20f5 commit 71f47e8
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -94,10 +94,12 @@ import UIKit
if let msg = jsonContent.pt_msg, !msg.isEmpty{
templateSubcaption = msg
}
if let msgSummary = jsonContent.pt_msg_summary, !msgSummary.isEmpty{
templateSubcaption = msgSummary
}
if let deeplink = jsonContent.pt_dl1, !deeplink.isEmpty{
deeplinkURL = deeplink
}

if let bigImage = jsonContent.pt_big_img, !bigImage.isEmpty{
templateBigImage = bigImage
}
Original file line number Diff line number Diff line change
@@ -16,5 +16,4 @@ struct ZeroBezelProperties: Decodable {
let pt_dl1: String?
let pt_title_clr: String?
let pt_msg_clr: String?
let pt_small_icon_clr: String?
}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -291,7 +291,6 @@ pt_json | Optional | Above keys in JSON format
pt_dl1 | Required | Deep Link
pt_title_clr | Optional | Title Color in HEX
pt_msg_clr | Optional | Message Color in HEX
pt_small_icon_clr | Optional | Small Icon Color in HEX
pt_json | Optional | Above keys in JSON format
# Sample App #

0 comments on commit 71f47e8

Please sign in to comment.