Sample improves

* No remove axaml files for makes the sample simpler.
* Creation of utilities class.
* Avoid using ref Bitmap on MainViewModel.
* Avoid application crashing when dotnet.png or avalonia.png are missing. Using an replace embeded image instead.
* Conditionally invoke of UseAvaloniaNative at runtime.
This commit is contained in:
Joseph Moreno
2021-12-13 16:17:55 -05:00
parent 0368c711d6
commit eab730c1f2
9 changed files with 69 additions and 54 deletions

BIN
src/Images/broken-link.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB