mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Apply suggestion from code review
Co-authored-by: frenzibyte <frenzibyte@gmail.com>
This commit is contained in:
parent
bf6204f64e
commit
5fc1397564
@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
|
||||
public ChangelogUpdateStreamControl Streams;
|
||||
|
||||
public LocalisableString ListingString => LayoutStrings.HeaderChangelogIndex;
|
||||
public static LocalisableString ListingString => LayoutStrings.HeaderChangelogIndex;
|
||||
|
||||
private Box streamsBackground;
|
||||
|
||||
|
@ -12,7 +12,8 @@ namespace osu.Game.Overlays.News
|
||||
{
|
||||
public class NewsHeader : BreadcrumbControlOverlayHeader
|
||||
{
|
||||
public LocalisableString FrontPageString => osu.Game.Resources.Localisation.Web.NewsStrings.IndexTitleInfo;
|
||||
public static LocalisableString FrontPageString => NewsStrings.IndexTitleInfo;
|
||||
|
||||
public Action ShowFrontPage;
|
||||
|
||||
private readonly Bindable<string> article = new Bindable<string>();
|
||||
|
@ -72,5 +72,4 @@ namespace osu.Game.Overlays.Rankings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -14,7 +14,8 @@ namespace osu.Game.Overlays.Wiki
|
||||
public class WikiHeader : BreadcrumbControlOverlayHeader
|
||||
{
|
||||
private const string index_path = "Main_Page";
|
||||
public LocalisableString IndexPageString => LayoutStrings.HeaderHelpIndex;
|
||||
|
||||
public static LocalisableString IndexPageString => LayoutStrings.HeaderHelpIndex;
|
||||
|
||||
public readonly Bindable<APIWikiPage> WikiPageData = new Bindable<APIWikiPage>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user