Skip to content

Commit

Permalink
FavoritesConfig.logoUrl support
Browse files Browse the repository at this point in the history
  • Loading branch information
wvdhaute committed Dec 16, 2015
1 parent b3185bb commit a23fae1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Binary file modified linkid-sdk-dotnet/linkid-sdk-dotnet.suo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ public class LinkIDFavoritesConfiguration
{
public String title { get; set; }
public String info { get; set; }
public String logoEncoded { get; set; }
public String logoUrl { get; set; }
public String backgroundColor { get; set; }
public String textColor { get; set; }

public LinkIDFavoritesConfiguration(String title, String info, String logoEncoded,
public LinkIDFavoritesConfiguration(String title, String info, String logoUrl,
String backgroundColor, String textColor)
{
this.title = title;
this.info = info;
this.logoEncoded = logoEncoded;
this.logoUrl = logoUrl;
this.backgroundColor = backgroundColor;
this.textColor = textColor;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ private FavoritesConfiguration convert(LinkIDFavoritesConfiguration favoritesCon
FavoritesConfiguration wsFavoritesConfiguration = new FavoritesConfiguration();
wsFavoritesConfiguration.title = favoritesConfiguration.title;
wsFavoritesConfiguration.info = favoritesConfiguration.info;
wsFavoritesConfiguration.logoEncoded = favoritesConfiguration.logoEncoded;
wsFavoritesConfiguration.logoUrl = favoritesConfiguration.logoUrl;
wsFavoritesConfiguration.backgroundColor = favoritesConfiguration.backgroundColor;
wsFavoritesConfiguration.textColor = favoritesConfiguration.textColor;
return wsFavoritesConfiguration;
Expand All @@ -1354,7 +1354,7 @@ private LinkIDFavoritesConfiguration convert(FavoritesConfiguration favoritesCon
}

LinkIDFavoritesConfiguration config = new LinkIDFavoritesConfiguration(favoritesConfiguration.title,
favoritesConfiguration.info, favoritesConfiguration.logoEncoded,
favoritesConfiguration.info, favoritesConfiguration.logoUrl,
favoritesConfiguration.backgroundColor, favoritesConfiguration.textColor);
return config;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2739,9 +2739,9 @@
<documentation>Optional info to display in the user's favorites. If not present, the application description is used</documentation>
</annotation>
</element>
<element name="logoEncoded" type="string" minOccurs="0" maxOccurs="1">
<element name="logoUrl" type="string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Optional encoded logo image to display in the user's favorites. If not present, the application logo is used. Note that there are size restrictions ( less than 20kB )</documentation>
<documentation>Optional logo image url to display in the user's favorites. If not present, the application logo is used. Note that there are size restrictions</documentation>
</annotation>
</element>
<element name="backgroundColor" type="string" minOccurs="0" maxOccurs="1">
Expand Down

0 comments on commit a23fae1

Please sign in to comment.