Ensure new wallets show up in the menu

This commit is contained in:
TheXamlGuy
2024-06-10 22:47:04 +01:00
parent 60d6fe8785
commit 0026c3186b
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
public record Insert
{
public static InsertEventArgs<TValue> As<TValue>(int index, TValue value) =>
new(index, value);
public static InsertEventArgs<TSender> As<TSender>(int index, TSender sender) =>
new(index, sender);
public static InsertEventArgs<TValue> As<TValue>(int index) where TValue : new() =>
new(index, new TValue());
public static InsertEventArgs<TSender> As<TSender>(int index) where TSender : new() =>
new(index, new TSender());
}