mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 18:47:27 +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
|
// user requested abort
|
||||||
return;
|
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);
|
Delete(b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -256,8 +256,8 @@ namespace osu.Game.Database
|
|||||||
// user requested abort
|
// user requested abort
|
||||||
return;
|
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);
|
Undelete(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user