mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
feature: supports get avatar from avatars.githubusercontent.com
* move all images to `src/Resources/Images` folder
This commit is contained in:
parent
1729a64788
commit
cd9196bb84
42 changed files with 71 additions and 49 deletions
|
@ -25,7 +25,7 @@ namespace SourceGit.Models
|
|||
|
||||
try
|
||||
{
|
||||
var asset = AssetLoader.Open(new Uri($"avares://SourceGit/Resources/ExternalToolIcons/{icon}.png",
|
||||
var asset = AssetLoader.Open(new Uri($"avares://SourceGit/Resources/Images/ExternalToolIcons/{icon}.png",
|
||||
UriKind.RelativeOrAbsolute));
|
||||
IconImage = new Bitmap(asset);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue