Set Draft Count staticmethod
This commit is contained in:
parent
70fa0622c6
commit
f2d3618126
|
@ -80,7 +80,8 @@ class Draft(Screen, HelperDraft):
|
||||||
xAddress, self.account, "draft", where, what,
|
xAddress, self.account, "draft", where, what,
|
||||||
False, start_indx, end_indx)
|
False, start_indx, end_indx)
|
||||||
|
|
||||||
def set_draftCnt(self, Count): # pylint: disable=no-self-use
|
@staticmethod
|
||||||
|
def set_draftCnt(Count):
|
||||||
"""This method set the count of draft mails"""
|
"""This method set the count of draft mails"""
|
||||||
draftCnt_obj = state.kivyapp.root.ids.content_drawer.ids.draft_cnt
|
draftCnt_obj = state.kivyapp.root.ids.content_drawer.ids.draft_cnt
|
||||||
draftCnt_obj.ids.badge_txt.text = showLimitedCnt(int(Count))
|
draftCnt_obj.ids.badge_txt.text = showLimitedCnt(int(Count))
|
||||||
|
|
Reference in New Issue
Block a user