Fix class name to be consistent
MODIFY
WalletWasabi.Fluent/Controls/PrivacyTextPresenter.cs
WalletWasabi.Fluent/Controls/PrivacyTextPresenter.cs
@@ -27,7 +27,7 @@ public class PrivacyTextPresenter : UserControl
private GlyphRun? CreateGlyphRun(double width)
{
- var privacyChar = UIConstants.PrivacyChar;
+ var privacyChar = UiConstants.PrivacyChar;
var glyphTypeface = new Typeface((FontFamily?)FontFamily).GlyphTypeface;
var glyph = glyphTypeface.GetGlyph(privacyChar);

MODIFY
WalletWasabi.Fluent/Helpers/TextHelpers.cs
WalletWasabi.Fluent/Helpers/TextHelpers.cs
@@ -74,6 +74,6 @@ public static class TextHelpers
public static string GetPrivacyMask(int repeatCount)
{
- return new string(UIConstants.PrivacyChar, repeatCount);
+ return new string(UiConstants.PrivacyChar, repeatCount);
}
}

RENAME
WalletWasabi.Fluent/UIConstants.cs
WalletWasabi.Fluent/UiConstants.cs
namespace WalletWasabi.Fluent;
-public static class UIConstants
+public static class UiConstants
{
public const char PrivacyChar = '#';
public const int PrivacyRingMaxItemCount = 100;

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
@@ -70,7 +70,7 @@ public partial class PrivacyBarViewModel : ActivatableViewModel
return;
}
- var shouldCreateSegmentsByCoin = coinCount < UIConstants.PrivacyRingMaxItemCount;
+ var shouldCreateSegmentsByCoin = coinCount < UiConstants.PrivacyRingMaxItemCount;
var result =
shouldCreateSegmentsByCoin

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyRingViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyRingViewModel.cs
@@ -102,7 +102,7 @@ public partial class PrivacyRingViewModel : RoutableViewModel
var coinCount = _walletViewModel.Wallet.Coins.Count();
- var shouldCreateSegmentsByCoin = coinCount < UIConstants.PrivacyRingMaxItemCount;
+ var shouldCreateSegmentsByCoin = coinCount < UiConstants.PrivacyRingMaxItemCount;
var result =
shouldCreateSegmentsByCoin

Fix class name to be consistent