From fa8ac5ceeb7cbd25f87467973f4e8bf74d3a6531 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 17 Jan 2021 13:07:13 -0800 Subject: [PATCH] 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 --- mobile-widgets/qmlmanager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 02c254257..790be68a9 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -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; }