From d73aaf3d9ec0f232c733f9330d38cdec55d9264d Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 9 Oct 2022 00:47:44 -0400 Subject: add splash_progress the loading track splash flashes and is ugly add a function to display a progressbar along with the splash message spruce up database commit message as well Change-Id: I2749b958c1ee5dad2631a5f999a4b00ddca7f225 --- apps/root_menu.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'apps/root_menu.c') diff --git a/apps/root_menu.c b/apps/root_menu.c index 80a84d9d49..95524e1ba3 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -241,15 +241,19 @@ static int browser(void* param) { if (lang_is_rtl()) { - splashf(0, "[%d/%d] %s", stat->commit_step, - tagcache_get_max_commit_step(), - str(LANG_TAGCACHE_INIT)); + splash_progress(stat->commit_step, + tagcache_get_max_commit_step(), + "[%d/%d] %s", stat->commit_step, + tagcache_get_max_commit_step(), + str(LANG_TAGCACHE_INIT)); } else { - splashf(0, "%s [%d/%d]", str(LANG_TAGCACHE_INIT), - stat->commit_step, - tagcache_get_max_commit_step()); + splash_progress(stat->commit_step, + tagcache_get_max_commit_step(), + "%s [%d/%d]", str(LANG_TAGCACHE_INIT), + stat->commit_step, + tagcache_get_max_commit_step()); } } else -- cgit v1.2.3