Various UI improvements

This commit is contained in:
Mark Qvist 2025-11-02 02:57:51 +01:00
parent 2eec1d0a50
commit 9a11bfded2
4 changed files with 20 additions and 20 deletions

View file

@ -337,15 +337,15 @@ class Messages():
if prg <= 0.00:
stamp_cost = self.app.sideband.get_lxm_stamp_cost(msg["hash"])
prop_cost = self.app.sideband.get_lxm_propagation_cost(msg["hash"])
if stamp_cost:
if stamp_cost and prop_cost:
sphrase = f"Generating stamps with cost {stamp_cost} and {prop_cost}"
prgstr = ""
elif stamp_cost:
sphrase = f"Generating stamp with cost {stamp_cost}"
prgstr = ""
elif prop_cost:
sphrase = f"Generating propagation stamp with cost {prop_cost}"
prgstr = ""
elif stamp_cost and prop_cost:
sphrase = f"Generating stamps with cost {stamp_cost} and {prop_cost}"
prgstr = ""
else:
sphrase = "Waiting for path"
elif prg <= 0.01: