initial implementation of coin list and send tab viewmodels.
MODIFY
WalletWasabi.Gui/Converters/FilterLeftValueConverter.cs
WalletWasabi.Gui/Converters/FilterLeftValueConverter.cs
@@ -10,7 +10,12 @@ namespace WalletWasabi.Gui.Converters
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
- return (int)value == -1 ? "--" : value.ToString();
+ if (value is int integer)
+ {
+ return integer == -1 ? "--" : value.ToString();
+ }
+
+ throw new InvalidOperationException();
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

MODIFY
WalletWasabi.Gui/WalletWasabi.Gui.csproj
WalletWasabi.Gui/WalletWasabi.Gui.csproj
</PropertyGroup>
<ItemGroup>
- <EmbeddedResource Include="App.xaml" />
- <EmbeddedResource Include="Controls\GroupBox.xaml" />
- <EmbeddedResource Include="Controls\ModalDialog.xaml" />
- <EmbeddedResource Include="Controls\Spinner.xaml" />
- <EmbeddedResource Include="Controls\StatusBar.xaml" />
- <EmbeddedResource Include="Controls\WalletExplorer\HistoryTabView.xaml">
- <Generator>MSBuild:Compile</Generator>
- </EmbeddedResource>
- <EmbeddedResource Include="Controls\WalletExplorer\ReceiveTabView.xaml">
- <Generator>MSBuild:Compile</Generator>
- </EmbeddedResource>
- <EmbeddedResource Include="Controls\WalletExplorer\WalletExplorerView.xaml" />
- <EmbeddedResource Include="Dialogs\CannotCloseDialogView.xaml" />
- <EmbeddedResource Include="Icons\Icons.xaml" />
- <EmbeddedResource Include="MainWindow.xaml" />
- <EmbeddedResource Include="Styles\Styles.xaml" />
- <EmbeddedResource Include="Tabs\AboutView.xaml" />
- <EmbeddedResource Include="Tabs\CustomerSupportView.xaml" />
- <EmbeddedResource Include="Tabs\LegalIssuesView.xaml">
- <Generator></Generator>
- </EmbeddedResource>
- <EmbeddedResource Include="Tabs\PrivacyPolicyView.xaml" />
- <EmbeddedResource Include="Tabs\ReportBugView.xaml" />
- <EmbeddedResource Include="Tabs\TermsAndConditionsView.xaml" />
- <EmbeddedResource Include="Tabs\WalletManager\GenerateWalletSuccessView.xaml" />
- <EmbeddedResource Include="Tabs\WalletManager\GenerateWalletView.xaml" />
- <EmbeddedResource Include="Tabs\WalletManager\LoadWalletView.xaml" />
- <EmbeddedResource Include="Tabs\WalletManager\RecoverWalletView.xaml" />
- <EmbeddedResource Include="Tabs\WalletManager\WalletManagerView.xaml" />
- <None Remove="Controls\WalletExplorer\HistoryTabView.xaml" />
- <None Remove="Controls\WalletExplorer\ReceiveTabView.xaml" />
- <None Remove="Tabs\LegalIssuesView.xaml" />
-
- <Compile Update="**\*.xaml.cs">
- <DependentUpon>%(Filename)</DependentUpon>
- </Compile>
+ <EmbeddedResource Include="**\*.xaml;Assets\*" Exclude="bin\**;obj\**;**\*.xproj;packages\**;@(EmbeddedResource)" />
</ItemGroup>
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netcoreapp2.1\WalletWasabi.Gui.xml</DocumentationFile>
</PropertyGroup>
<ProjectReference Include="..\WalletWasabi\WalletWasabi.csproj" />
</ItemGroup>
- <ItemGroup>
- <EmbeddedResource Update="Controls\WalletExplorer\ReceiveTabView.xaml">
- <Generator>MSBuild:Compile</Generator>
- </EmbeddedResource>
- <EmbeddedResource Update="Tabs\LegalIssuesView.xaml">
- <Generator></Generator>
- </EmbeddedResource>
- </ItemGroup>
-
</Project>

initial implementation of coin list and send tab viewmodels.