Skip to content

Commit 810b56c

Browse files
committed
Fix codefactor feedbacks
1 parent dc54f09 commit 810b56c

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

sandbox/SandboxMAUI/MainPage.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public MainPage()
1010
InitializeComponent();
1111
}
1212

13-
1413
async void GoToCheckBoxPage(System.Object sender, System.EventArgs e)
1514
{
1615
await Navigation.PushAsync(new CheckBoxPage());

src/InputKit.Maui/Shared/Controls/PredefinedShapes.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ public static class PredefinedShapes
99
public static Geometry Line = GeometryConverter.FromPath(Paths.LineHorizontal);
1010
public static Geometry Square = GeometryConverter.FromPath(Paths.Square);
1111
public static Geometry Dot = GeometryConverter.FromPath(Paths.Dot);
12-
}
1312

14-
public static class Paths
15-
{
16-
public const string Check = "M 6.5212 16.4777 l -6.24 -6.24 c -0.3749 -0.3749 -0.3749 -0.9827 0 -1.3577 l 1.3576 -1.3577 c 0.3749 -0.3749 0.9828 -0.3749 1.3577 0 L 7.2 11.7259 L 16.2036 2.7224 c 0.3749 -0.3749 0.9828 -0.3749 1.3577 0 l 1.3576 1.3577 c 0.3749 0.3749 0.3749 0.9827 0 1.3577 l -11.04 11.04 c -0.3749 0.3749 -0.9828 0.3749 -1.3577 -0 z";
17-
public const string CheckCircle = "M12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 Z M8,10 L6,12 L11,17 L18,10 L16,8 L11,13 L8,10 Z";
18-
public const string Square = "M12 12H0V0h12v12z";
19-
public const string LineHorizontal = "M 17.2026 6.7911 H 0.9875 C 0.4422 6.7911 0 7.2332 0 7.7784 v 2.6331 c 0 0.5453 0.442 0.9873 0.9875 0.9873 h 16.2151 c 0.5453 0 0.9873 -0.442 0.9873 -0.9873 v -2.6331 C 18.1901 7.2332 17.7481 6.7911 17.2026 6.7911 z";
20-
public const string Dot = "M12 18a6 6 0 100-12 6 6 0 000 12z";
21-
}
13+
public static class Paths
14+
{
15+
public const string Check = "M 6.5212 16.4777 l -6.24 -6.24 c -0.3749 -0.3749 -0.3749 -0.9827 0 -1.3577 l 1.3576 -1.3577 c 0.3749 -0.3749 0.9828 -0.3749 1.3577 0 L 7.2 11.7259 L 16.2036 2.7224 c 0.3749 -0.3749 0.9828 -0.3749 1.3577 0 l 1.3576 1.3577 c 0.3749 0.3749 0.3749 0.9827 0 1.3577 l -11.04 11.04 c -0.3749 0.3749 -0.9828 0.3749 -1.3577 -0 z";
16+
public const string CheckCircle = "M12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 Z M8,10 L6,12 L11,17 L18,10 L16,8 L11,13 L8,10 Z";
17+
public const string Square = "M12 12H0V0h12v12z";
18+
public const string LineHorizontal = "M 17.2026 6.7911 H 0.9875 C 0.4422 6.7911 0 7.2332 0 7.7784 v 2.6331 c 0 0.5453 0.442 0.9873 0.9875 0.9873 h 16.2151 c 0.5453 0 0.9873 -0.442 0.9873 -0.9873 v -2.6331 C 18.1901 7.2332 17.7481 6.7911 17.2026 6.7911 z";
19+
public const string Dot = "M12 18a6 6 0 100-12 6 6 0 000 12z";
20+
}
21+
}

0 commit comments

Comments
 (0)