Update screen id name for generating new and random address

This commit is contained in:
shekhar-cis 2022-08-10 17:51:16 +05:30
parent af6953b916
commit 51378a75bc
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7
3 changed files with 6 additions and 6 deletions

View File

@ -135,7 +135,7 @@ class MailDetail(Screen): # pylint: disable=too-many-instance-attributes
self.status = data[0][4]
self.time_tag = ShowTimeHistoy(data[0][4]) if self.kivy_state.detailPageType == 'inbox' \
else ShowTimeHistoy(data[0][6])
self.avatarImg = os.path.join(self.kivy_state.imageDir, 'avatar.png') \
self.avatarImg = os.path.join(self.kivy_state.imageDir, 'draft-icon.png') \
if self.kivy_state.detailPageType == 'draft' \
else (os.path.join(self.kivy_state.imageDir, 'text_images', '{0}.png'.format(avatarImageFirstLetter(
self.subject.strip()))))

View File

@ -82,7 +82,7 @@
on_release:
app.set_screen('random')
on_press:
app.root.ids.sc7.reset_address_label()
app.root.ids.id_newidentity.reset_address_label()
#info-area-outer
BoxLayout:
@ -177,7 +177,7 @@
width: dp(190)
helper_text_mode: "on_error"
# helper_text: "Please enter your label name"
on_text: app.root.ids.sc7.add_validation(self)
on_text: app.root.ids.id_newidentity.add_validation(self)
canvas.before:
Color:
rgba: (0,0,0,1)
@ -186,7 +186,7 @@
MDFillRoundFlatIconButton:
icon: "chevron-double-right"
text: app.tr._("Proceed Next")
on_release: app.root.ids.sc7.generateaddress()
on_release: app.root.ids.id_newidentity.generateaddress()
Widget:

View File

@ -109,7 +109,7 @@
NavigationItem:
height: dp(48)
CustomSpinner:
id: btn
id: identity_dropdown
pos_hint:{"x":0,"y":0}
option_cls: Factory.get("MySpinnerOption")
font_size: '12.5sp'
@ -227,7 +227,7 @@ MDNavigationLayout:
Login:
id:sc6
Random:
id:sc7
id:id_newidentity
Setting:
id:sc9
MyAddress: