mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-15 09:41:28 -07:00
fix crash on theme create
This commit is contained in:
parent
bae578f94d
commit
950277d1e9
@ -20,12 +20,12 @@ namespace Bloxstrap.Extensions
|
|||||||
case CustomThemeTemplate.Blank:
|
case CustomThemeTemplate.Blank:
|
||||||
{
|
{
|
||||||
string moreText = string.Format(Strings.CustomTheme_Templates_Blank_MoreExamples, EXAMPLES_URL);
|
string moreText = string.Format(Strings.CustomTheme_Templates_Blank_MoreExamples, EXAMPLES_URL);
|
||||||
return string.Format(contents, Strings.CustomTheme_Templates_Blank_UIElements, moreText);
|
return contents.Replace("{0}", Strings.CustomTheme_Templates_Blank_UIElements).Replace("{1}", moreText);
|
||||||
}
|
}
|
||||||
case CustomThemeTemplate.Simple:
|
case CustomThemeTemplate.Simple:
|
||||||
{
|
{
|
||||||
string moreText = string.Format(Strings.CustomTheme_Templates_Simple_MoreExamples, EXAMPLES_URL);
|
string moreText = string.Format(Strings.CustomTheme_Templates_Simple_MoreExamples, EXAMPLES_URL);
|
||||||
return string.Format(contents, moreText);
|
return contents.Replace("{0}", moreText);
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false);
|
Debug.Assert(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user