mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Use constant
This commit is contained in:
parent
6e4730652e
commit
27b7039520
@ -16,7 +16,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
public class WikiOverlay : OnlineOverlay<WikiHeader>
|
||||
{
|
||||
private const string index_path = "Main_Page";
|
||||
private const string index_path = @"main_page";
|
||||
|
||||
private readonly Bindable<string> path = new Bindable<string>(index_path);
|
||||
|
||||
@ -101,7 +101,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
wikiData.Value = response;
|
||||
|
||||
if (response.Layout == "main_page")
|
||||
if (response.Layout == index_path)
|
||||
{
|
||||
LoadDisplay(new WikiMainPage
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user