Update msg-composer current screen method

This commit is contained in:
shekhar-cis 2022-03-04 19:05:24 +05:30
parent f88d70c275
commit b37ab972a9
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7

View File

@ -76,7 +76,7 @@
icon: 'qrcode-scan' icon: 'qrcode-scan'
pos_hint: {'center_x': 0.95, 'y': 0.6} pos_hint: {'center_x': 0.95, 'y': 0.6}
on_release: on_release:
if root.is_camara_attached(): app.root.ids.scr_mngr.current = 'scanscreen' if root.is_camara_attached(): app.set_screen('scanscreen')
else: root.camera_alert() else: root.camera_alert()
on_press: on_press:
app.root.ids.sc23.get_screen('composer') app.root.ids.sc23.get_screen('composer')