mobile/UI: normally don't show git progress info to user

This isn't really useful for normal users and with the new 'multiple
notifications stay visible' feature in Kirigami it creates a really
weird and distracting user experience.
We should show the user a summart of what we did instead.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-01-17 13:07:13 -08:00
parent bd951a51cc
commit fa8ac5ceeb

View file

@ -128,7 +128,12 @@ static void showProgress(QString msg)
// show the git progress in the passive notification area
extern "C" int gitProgressCB(const char *text)
{
showProgress(QString(text));
// regular users, during regular operation, likely really don't
// care at all about the git progress
if (verbose) {
showProgress(QString(text));
appendTextToLogStandalone(text);
}
// return 0 so that we don't end the download
return 0;
}