Skip to content

Commit 8876ef6

Browse files
committed
2 parents 03483ec + ccde34f commit 8876ef6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

TumblrThemeSelect/Val/ParametrePanel.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace TumblrThemeSelect.Val
1313
{
1414
public class ParametrePanel : StackPanel
1515
{
16-
public string ID;
16+
public string Id;
1717
public object Value;
1818

1919
private static string FromColor(Color c)
@@ -52,7 +52,8 @@ private static Color FromHex(string hex)
5252
private static bool CheckBool(dynamic b) => b is bool ? b : (b is string ? b.Contains("1") : false);
5353
private static bool CheckUrlValid(string source)
5454
{
55-
return Uri.TryCreate(source, UriKind.Absolute, out var uriResult) && (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps);
55+
Uri uriResult;
56+
return Uri.TryCreate(source, UriKind.Absolute, out uriResult) && (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps);
5657
}
5758

5859
public ParametrePanel(string id, dynamic value, Tumblr t, UIElement loading)
@@ -61,7 +62,7 @@ public ParametrePanel(string id, dynamic value, Tumblr t, UIElement loading)
6162
Margin = new Thickness(0, 2, 0, 2);
6263
Height = 25;
6364

64-
ID = id;
65+
Id = id;
6566
Value = value;
6667

6768
dynamic val = null;

0 commit comments

Comments
 (0)