1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix import notifications not showing correct text

This commit is contained in:
Dean Herbert 2021-10-05 17:14:09 +09:00
parent 4bd1083388
commit 1e4da81120

View File

@ -197,7 +197,7 @@ namespace osu.Game.Database
else
{
notification.CompletionText = imported.Count == 1
? $"Imported {imported.First()}!"
? $"Imported {imported.First().Value}!"
: $"Imported {imported.Count} {HumanisedModelName}s!";
if (imported.Count > 0 && PostImport != null)