comrad update!

master
marxzuckerburg 4 years ago
parent 3ae485ba44
commit 2736cc5bc6

@ -19,8 +19,8 @@ class BaseScreen(MDScreen):
# self.root.remove_widget(self.app.msg_dialog)
# if hasattr(self.app,'msg_dialog0') and self.app.msg_dialog0: self.root.remove_widget(self.app.msg_dialog0)
self.app.clear_widget_tree(MDDialog)
self.app.clear_widget_tree(MDDialog2)
# self.app.clear_widget_tree(MDDialog)
# self.app.clear_widget_tree(MDDialog2)
pass
@property

@ -398,7 +398,7 @@ class LoginScreen(BaseScreen):
_fnfn=commie.save_uri_as_qrcode(uri_id)
# await logfunc(f'Saving public key, encrypted private key, and login secret to hardware-only database. Also saving public key as QR code to: {_fnfn}.',pause=True,clear=False,use_prefix=False)
await logfunc(f'You can share it by pasting it to someone in a secure message:\n{uri_s}',comrad_name='Keymaker')
await logfunc(f'You can share it by pasting it to someone in a secure message:\n\n{uri_s}',comrad_name='Keymaker')
await logfunc(f'You can also share it IRL, phone to phone, as a QR code. It is saved to {fnfn} and looks like this.',img_src=fnfn,comrad_name='Keymaker')

@ -98,7 +98,7 @@ class MapWidget(MDDialog2):
self.label_layout.cols=1
self.label_layout.row_default_height='25sp'
self.label_layout.row_force_default='25sp'
self.label_layout.rows=10
self.label_layout.rows=5
self.label_layout.pos_hint={'y':0}
self.label_layout.size_hint=(None,None)
self.label_layout.width=Window.size[0]

@ -280,7 +280,7 @@ class TheOperator(Operator):
'pubkey':pubkey_b,
'secret_login':shared_secret,
'name':name,
'status':f'Comrad @{name} was successfully registered. That name has been permanently linked to this public key:\n{uri_id.decode()}',
'status':f'Comrad @{name} was successfully registered. That name has been permanently linked to this public key:\n\n{uri_id.decode()}',
'res_posts':self.get_posts(msg_obj)
}
# res_safe = {

Loading…
Cancel
Save