Skip to content

Commit

Permalink
Add icon_link into RegionSocMedProp
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-nyan committed Apr 23, 2023
1 parent 0695718 commit ae8e027
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@ public class RegionSocMedProp
private string _url;

public string icon_id { get; set; }
public string icon_link { get; set; }
public string img { get; set; }
public string img_hover { get; set; }
public string qr_img { get; set; }
public string qr_desc { get; set; }
public string url
{
get => _url;
set => _url = StripTabsAndNewlines(value);
get => StripTabsAndNewlines(string.IsNullOrEmpty(_url) ? icon_link : _url);
set => _url = value;
}
public string name { get; set; }
public string title { get; set; }
Expand Down

0 comments on commit ae8e027

Please sign in to comment.