mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:42:54 +08:00
Apply same logic fixes to delete/restore all notifications
This commit is contained in:
parent
625e561fc8
commit
101caf3064
@ -220,8 +220,8 @@ namespace osu.Game.Database
|
||||
// user requested abort
|
||||
return;
|
||||
|
||||
notification.Text = $"Deleting ({i} of {items.Count})";
|
||||
notification.Progress = (float)++i / items.Count;
|
||||
notification.Progress = (float)i / items.Count;
|
||||
notification.Text = $"Deleting ({++i} of {items.Count})";
|
||||
Delete(b);
|
||||
}
|
||||
}
|
||||
@ -256,8 +256,8 @@ namespace osu.Game.Database
|
||||
// user requested abort
|
||||
return;
|
||||
|
||||
notification.Text = $"Restoring ({i} of {items.Count})";
|
||||
notification.Progress = (float)++i / items.Count;
|
||||
notification.Progress = (float)i / items.Count;
|
||||
notification.Text = $"Restoring ({++i} of {items.Count})";
|
||||
Undelete(item);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user