fixed kivymd latest update issues

This commit is contained in:
navjot 2021-03-26 22:44:43 +05:30
parent cb3fa3b510
commit e333b26588
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
5 changed files with 6 additions and 6 deletions

View File

@ -142,7 +142,7 @@ class AddressBook(Screen):
), ),
], ],
) )
self.addbook_popup.set_normal_height() # self.addbook_popup.set_normal_height()
self.addbook_popup.auto_dismiss = False self.addbook_popup.auto_dismiss = False
self.addbook_popup.open() self.addbook_popup.open()

View File

@ -163,8 +163,8 @@ class MailDetail(Screen): # pylint: disable=too-many-instance-attributes
msg_count_objs.draft_cnt.ids.badge_txt.text = str( msg_count_objs.draft_cnt.ids.badge_txt.text = str(
int(state.draft_count) - 1) int(state.draft_count) - 1)
state.draft_count = str(int(state.draft_count) - 1) state.draft_count = str(int(state.draft_count) - 1)
self.parent.screens[13].ids.ml.clear_widgets() self.parent.screens[13].clear_widgets()
self.parent.screens[13].loadDraft(state.association) self.parent.screens[13].add_widget(Factory.Draft())
if state.detailPageType != 'draft': if state.detailPageType != 'draft':
msg_count_objs.trash_cnt.ids.badge_txt.text = str( msg_count_objs.trash_cnt.ids.badge_txt.text = str(

View File

@ -153,7 +153,7 @@ class MyAddress(Screen):
size_hint=(width, .25), size_hint=(width, .25),
content_cls=obj, content_cls=obj,
) )
self.myadddetail_popup.set_normal_height() # self.myadddetail_popup.set_normal_height()
self.myadddetail_popup.auto_dismiss = False self.myadddetail_popup.auto_dismiss = False
self.myadddetail_popup.open() self.myadddetail_popup.open()
# p.set_address(fromaddress, label) # p.set_address(fromaddress, label)

View File

@ -353,7 +353,7 @@ class NavigateApp(MDApp):
), ),
], ],
) )
self.add_popup.set_normal_height() # self.add_popup.set_normal_height()
self.add_popup.auto_dismiss = False self.add_popup.auto_dismiss = False
self.add_popup.open() self.add_popup.open()
# p = GrashofPopup() # p = GrashofPopup()

View File

@ -18,5 +18,5 @@ class TrashMessage(TeleniumTestProcess):
self.cli.click_on('//Trash/BoxLayout[0]/BoxLayout[0]/ScrollView[0]/MDList[0]/Carousel[0]//Button[0]') self.cli.click_on('//Trash/BoxLayout[0]/BoxLayout[0]/ScrollView[0]/MDList[0]/Carousel[0]//Button[0]')
self.cli.sleep(2) self.cli.sleep(2)
# self.cli.click_on('//MDDialog/MDCard[0]/AnchorLayout[0]/MDBoxLayout[0]/MDFlatButton[0]') # self.cli.click_on('//MDDialog/MDCard[0]/AnchorLayout[0]/MDBoxLayout[0]/MDFlatButton[0]')
self.cli.click_on('//MDDialog/DialogFakeCard[0]/AnchorLayout[0]/MDBoxLayout[0]/MDFlatButton[0]') self.cli.click_on('//MDDialog/MDCard[0]/AnchorLayout[0]/MDBoxLayout[0]/MDFlatButton[0]')
self.cli.sleep(4) self.cli.sleep(4)