diff --git a/index.html b/index.html index c3aa342..34e4d21 100644 --- a/index.html +++ b/index.html @@ -3065,7 +3065,18 @@ } // remove encryption badge if it exists if (!groupID && hasPubKey(activeChat.address) && floID !== floDapps.user.id) { - document.getElementById('warn_no_encryption')?.remove() + console.log('removing encryption badge') + if (document.getElementById('warn_no_encryption')) { + document.getElementById('warn_no_encryption').after( + html.node` + + + Conversation is encrypted + + ` + ) + document.getElementById('warn_no_encryption').remove() + } } } let chatCard = getChatCard(chatAddress) @@ -3358,7 +3369,7 @@ floBlockchainAPI.getBalance(floGlobals.myFloID).then(balance => { let warning = `Creation of multisig address consumes FLO, you have ${balance} FLO.`; getRef('multisig_creation__warning').classList.add('info--warning') - if (balance < 0.2) { + if (balance < 0.01) { warning = `Creation of multisig address consumes FLO, you don't have enough FLO`; getRef('multisig_creation__warning').classList.remove('info--warning') getRef('multisig_creation__warning').classList.add('info--error')