mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	Pas mieux avec ImageSource
This commit is contained in:
		
							parent
							
								
									184cbd617d
								
							
						
					
					
						commit
						c3ec856451
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez