mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix CI errors
This commit is contained in:
@ -28,9 +28,7 @@ namespace osu.Game.Screens.Import
|
||||
|
||||
public override bool HideOverlaysOnEnter => true;
|
||||
|
||||
private string[] fileExtensions;
|
||||
private string defaultPath;
|
||||
|
||||
private readonly Bindable<FileInfo> currentFile = new Bindable<FileInfo>();
|
||||
private readonly IBindable<DirectoryInfo> currentDirectory = new Bindable<DirectoryInfo>();
|
||||
private TextFlowContainer currentFileText;
|
||||
@ -45,7 +43,7 @@ namespace osu.Game.Screens.Import
|
||||
{
|
||||
storage.GetStorageForDirectory("imports");
|
||||
var originalPath = storage.GetFullPath("imports", true);
|
||||
fileExtensions = new string[] { ".osk", ".osr", ".osz" };
|
||||
string[] fileExtensions = { ".osk", ".osr", ".osz" };
|
||||
defaultPath = originalPath;
|
||||
|
||||
InternalChild = contentContainer = new Container
|
||||
@ -187,6 +185,7 @@ namespace osu.Game.Screens.Import
|
||||
|
||||
fileSelectContainer.Add(fileSelector);
|
||||
}
|
||||
|
||||
private void updateFileSelectionText(ValueChangedEvent<FileInfo> v)
|
||||
{
|
||||
currentFileText.Text = v.NewValue?.Name ?? "Select a file";
|
||||
|
Reference in New Issue
Block a user