mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add GetDisplayString()
extension to handle all model interface types globally
This commit is contained in:
@ -8,6 +8,7 @@ using System.Threading.Tasks;
|
||||
using Humanizer;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.Extensions;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Overlays.Notifications;
|
||||
|
||||
@ -50,7 +51,7 @@ namespace osu.Game.Database
|
||||
|
||||
DownloadNotification notification = new DownloadNotification
|
||||
{
|
||||
Text = $"Downloading {request.Model}",
|
||||
Text = $"Downloading {request.Model.GetDisplayString()}",
|
||||
};
|
||||
|
||||
request.DownloadProgressed += progress =>
|
||||
|
Reference in New Issue
Block a user