mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-01 09:33:02 +02:00
fix: bottom bar counter
This commit is contained in:
parent
e834d88c38
commit
1f00161bf0
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,6 @@ void forwardMessages(
|
|||
state->sentMessages = 0;
|
||||
state->updateBottomBar(*session, &peer->id, ForwardState::State::Sending);
|
||||
|
||||
|
||||
for (int i = 0; i < items.size(); i++) {
|
||||
const auto item = items[i];
|
||||
|
||||
|
@ -392,6 +391,7 @@ void forwardMessages(
|
|||
// "i" is incremented in prepareMedia
|
||||
|
||||
state->sentMessages = i + 1;
|
||||
state->updateBottomBar(*session, &peer->id, ForwardState::State::Sending);
|
||||
}
|
||||
state->updateBottomBar(*session, &peer->id, ForwardState::State::Finished);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue