Add global web setting for allowing explicit content

This commit is contained in:
Salman Ahmed
2021-01-12 11:10:25 +03:00
parent 249be461d5
commit 24c1839739
3 changed files with 20 additions and 1 deletions

View File

@ -33,6 +33,12 @@ namespace osu.Game.Overlays.Settings.Sections.Online
Keywords = new[] { "spectator" },
Current = config.GetBindable<bool>(OsuSetting.AutomaticallyDownloadWhenSpectating),
},
new SettingsCheckbox
{
LabelText = "Hide warnings for explicit content in beatmaps",
Keywords = new[] { "nsfw", "18+", "offensive" },
Current = config.GetBindable<bool>(OsuSetting.AllowExplicitContent),
}
};
}
}