chore: move all dalamud logo textures into special service

This commit is contained in:
goat 2023-10-01 21:35:21 +02:00
parent 2bdb837577
commit 263771c082
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
6 changed files with 77 additions and 35 deletions

View file

@ -181,10 +181,9 @@ Contribute at: https://github.com/goatcorp/Dalamud
public SettingsTabAbout()
{
var dalamud = Service<Dalamud>.Get();
var interfaceManager = Service<InterfaceManager>.Get();
var branding = Service<Branding>.Get();
this.logoTexture = interfaceManager.LoadImage(Path.Combine(dalamud.AssetDirectory.FullName, "UIRes", "logo.png"))!;
this.logoTexture = branding.Logo;
this.creditsThrottler = new();
}