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.status = data[0][4]
self.time_tag = ShowTimeHistoy(data[0][4]) if self.kivy_state.detailPageType == 'inbox' \ self.time_tag = ShowTimeHistoy(data[0][4]) if self.kivy_state.detailPageType == 'inbox' \
else ShowTimeHistoy(data[0][6]) 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' \ if self.kivy_state.detailPageType == 'draft' \
else (os.path.join(self.kivy_state.imageDir, 'text_images', '{0}.png'.format(avatarImageFirstLetter( else (os.path.join(self.kivy_state.imageDir, 'text_images', '{0}.png'.format(avatarImageFirstLetter(
self.subject.strip())))) self.subject.strip()))))

View File

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

View File

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