Merge pull request #14955 from peppy/fix-import-notifications

Fix import notifications not showing correct text
This commit is contained in:
Dan Balasescu 2021-10-05 17:55:04 +09:00 committed by GitHub
commit f8156b0df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)