adjust UI
This commit is contained in:
		| @@ -4,12 +4,15 @@ using System.Threading.Tasks; | ||||
| using Gallery.Util; | ||||
| using Gallery.Util.Interface; | ||||
| using Gallery.Util.Model; | ||||
| using Xamarin.Forms; | ||||
|  | ||||
| namespace Gallery.Yandere | ||||
| { | ||||
|     public class GallerySource : IGallerySource | ||||
|     { | ||||
|         public string Name => "Yande.re"; | ||||
|         public string Route => "yandere"; | ||||
|         public string FlyoutIconKey => "Yandere"; | ||||
|         public string HomePage => "https://yande.re"; | ||||
|  | ||||
|         public async Task<GalleryItem[]> GetRecentItemsAsync(int page) | ||||
| @@ -61,5 +64,17 @@ namespace Gallery.Yandere | ||||
|         { | ||||
|             throw new NotImplementedException(); | ||||
|         } | ||||
|  | ||||
|         public void InitDynamicResources(string family, ResourceDictionary light, ResourceDictionary dark) | ||||
|         { | ||||
|             var icon = new FontImageSource | ||||
|             { | ||||
|                 FontFamily = family, | ||||
|                 Glyph = "\uf302", | ||||
|                 Size = 18.0 | ||||
|             }; | ||||
|             light.Add(FlyoutIconKey, icon); | ||||
|             dark.Add(FlyoutIconKey, icon); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user