1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 15:06:06 +00:00

Pas mieux avec ImageSource

This commit is contained in:
Yan Maniez 2019-10-15 01:00:53 +02:00
parent 184cbd617d
commit c3ec856451

View file

@ -32,11 +32,12 @@ namespace AideDeJeu.ViewModels
} }
} }
public string SpeakerIcon public ImageSource SpeakerIcon
{ {
get get
{ {
return NotSpeaking ? "speaker.png" : "speaker_off.png"; //return ImageSource.FromResource(string.Format("{0}.{1}", System.Reflection.Assembly.GetExecutingAssembly().FullName.Split(',').FirstOrDefault(), NotSpeaking ? "speaker.png" : "speaker_off.png"));
return ImageSource.FromFile(NotSpeaking ? "speaker.png" : "speaker_off.png");
} }
} }
public bool Speaking public bool Speaking