mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-14 17:39:16 +00:00
Change Waiting on Lightning status color to gray
This commit is contained in:
parent
aceab30cec
commit
d5f131edda
|
@ -429,12 +429,12 @@ def get_application_status(short_name):
|
|||
return "Requires Mainnet"
|
||||
if app["requires_docker_image_installation"] and is_installing_docker_images():
|
||||
return "Installing..."
|
||||
if app["requires_lightning"] and not is_lnd_ready():
|
||||
return "Waiting on Lightning"
|
||||
if not app["is_enabled"]:
|
||||
return app["app_tile_default_status_text"]
|
||||
if app["requires_bitcoin"] and not is_bitcoin_synced():
|
||||
return "Waiting on Bitcoin"
|
||||
if app["requires_lightning"] and not is_lnd_ready():
|
||||
return "Waiting on Lightning"
|
||||
if app["requires_electrs"] and not is_electrs_active():
|
||||
return "Waiting on Electrum"
|
||||
|
||||
|
@ -476,12 +476,12 @@ def get_application_status_color(short_name):
|
|||
return "gray"
|
||||
if app["requires_docker_image_installation"] and is_installing_docker_images():
|
||||
return "yellow"
|
||||
if app["requires_lightning"] and not is_lnd_ready():
|
||||
return "gray"
|
||||
if app["can_enable_disable"] and not app["is_enabled"]:
|
||||
return "gray"
|
||||
if app["requires_bitcoin"] and not is_bitcoin_synced():
|
||||
return "yellow"
|
||||
if app["requires_lightning"] and not is_lnd_ready():
|
||||
return "yellow"
|
||||
if app["requires_electrs"] and not is_electrs_active():
|
||||
return "yellow"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user