Removed LNbits wallets balance screen from options

This commit is contained in:
Black Coffee 2022-10-20 15:00:49 +01:00
parent 79e98c2f6c
commit 5ae4353a70
2 changed files with 0 additions and 19 deletions

View file

@ -180,17 +180,6 @@
label="Show the dashboard"
></q-toggle>
<q-expansion-item
expand-separator
icon="perm_identity"
label="LNbits Wallets"
>
<q-toggle
v-model="formDialog.data.display_preferences.lnbits_wallets_balance"
label="Show LNbits wallet balances"
></q-toggle>
</q-expansion-item>
<q-toggle
v-model="formDialog.data.display_preferences.fun_satoshi_quotes"
label="Satoshi Quotes"
@ -551,7 +540,6 @@
data: {
display_preferences: {
dashboard: true,
lnbits_wallets_balance: true,
fun_satoshi_quotes: true,
fun_exchange_market_rate: true,
onchain_difficulty_epoch_progress: true,

View file

@ -170,13 +170,6 @@ async def get_screen_data(screen_num: int, screens_list: dict, gerty):
if screen_slug == "dashboard":
title = gerty.name
areas = await get_dashboard(gerty)
if screen_slug == "lnbits_wallets_balance":
wallets = await get_lnbits_wallet_balances(gerty)
text = []
for wallet in wallets:
text.append(get_text_item_dict("{0}'s Wallet".format(wallet['name']), 20))
text.append(get_text_item_dict("{0} sats".format(format_number(wallet['balance'])), 40))
areas.append(text)
elif screen_slug == "fun_satoshi_quotes":
areas.append(await get_satoshi_quotes())
elif screen_slug == "fun_exchange_market_rate":