Improve overall UI

This commit is contained in:
Dean Herbert
2020-05-14 17:40:43 +09:00
parent d04079f6ab
commit 4e4a779d68
4 changed files with 123 additions and 28 deletions

View File

@ -5,7 +5,6 @@ using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Graphics.UserInterface;
using osu.Game.Scoring;
@ -29,12 +28,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
[BackgroundDependencyLoader]
private void load(BeatmapManager beatmaps, ScoreManager scores, SkinManager skins, DialogOverlay dialogOverlay, OsuGame game)
{
Add(importBeatmapsButton = new SettingsButton
{
Text = "Migrate storage to new location",
Action = () => game.PerformFromScreen(menu => menu.Push(new MigrationSelectScreen()))
});
if (beatmaps.SupportsImportFromStable)
{
Add(importBeatmapsButton = new SettingsButton