Add IconNameFocused property to the NavigationMetaDataGenerator.cs
MODIFY
WalletWasabi.Fluent.Generators/NavigationMetaDataGenerator.cs
WalletWasabi.Fluent.Generators/NavigationMetaDataGenerator.cs
@@ -48,6 +48,8 @@ namespace WalletWasabi.Fluent
public string IconName { get; init; }
+ public string IconNameFocused { get; init; }
+
public int Order { get; init; }
public string Category { get; init; }
@@ -74,6 +76,8 @@ namespace WalletWasabi.Fluent
public string IconName { get; set; }
+ public string IconNameFocused { get; set; }
+
public int Order { get; set; }
public string Category { get; set; }
@@ -209,6 +213,11 @@ namespace {namespaceName}
{
source.AppendLine($@" public override string IconName => MetaData.IconName;");
}
+
+ if (attributeData.NamedArguments.Any(x => x.Key == "IconNameFocused"))
+ {
+ source.AppendLine($@" public override string IconNameFocused => MetaData.IconNameFocused;");
+ }
}
}

Add IconNameFocused property to the NavigationMetaDataGenerator.cs