misc: chore: Use explicit types in the Avalonia project
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||
}
|
||||
|
||||
public string this[string key] =>
|
||||
_glyphs.TryGetValue(Enum.Parse<Glyph>(key), out var val)
|
||||
_glyphs.TryGetValue(Enum.Parse<Glyph>(key), out string val)
|
||||
? val
|
||||
: string.Empty;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||
return null;
|
||||
}
|
||||
|
||||
var key = isBundled ? LocaleKeys.TitleBundledUpdateVersionLabel : LocaleKeys.TitleUpdateVersionLabel;
|
||||
LocaleKeys key = isBundled ? LocaleKeys.TitleBundledUpdateVersionLabel : LocaleKeys.TitleUpdateVersionLabel;
|
||||
return LocaleManager.Instance.UpdateAndGetDynamicValue(key, label);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user