Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
WamWooWam committed Dec 12, 2024
1 parent ba1ce39 commit 37c3287
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 60 deletions.
31 changes: 15 additions & 16 deletions UniSky/Converters/Static.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
namespace UniSky.Converters
namespace UniSky.Converters;

public class Static
{
public class Static
{
public static bool Equals(int a, int b)
=> a == b;
public static bool AtLeast(int a, int b)
=> a >= b;
public static bool Not(bool x)
=> !x;
public static bool NotNull(object x)
=> x is not null;
public static bool NullOrWhiteSpace(string s)
=> string.IsNullOrWhiteSpace(s);
public static bool NotNullOrWhiteSpace(string s)
=> !string.IsNullOrWhiteSpace(s);
}
public static bool Equals(int a, int b)
=> a == b;
public static bool AtLeast(int a, int b)
=> a >= b;
public static bool Not(bool x)
=> !x;
public static bool NotNull(object x)
=> x is not null;
public static bool NullOrWhiteSpace(string s)
=> string.IsNullOrWhiteSpace(s);
public static bool NotNullOrWhiteSpace(string s)
=> !string.IsNullOrWhiteSpace(s);
}
14 changes: 0 additions & 14 deletions UniSky/Pages/SettingsPage.xaml

This file was deleted.

30 changes: 0 additions & 30 deletions UniSky/Pages/SettingsPage.xaml.cs

This file was deleted.

0 comments on commit 37c3287

Please sign in to comment.