fixed CQ for bitmessagekivy.mpybit module part9

This commit is contained in:
surbhicis 2020-07-15 19:26:09 +05:30
parent bf1a57d9ca
commit 15258a2105
Signed by untrusted user: surbhicis
GPG Key ID: 48A8C2D218DE7B0B

View File

@ -976,12 +976,6 @@ class DropDownWidget(BoxLayout):
dialog_box.dismiss() dialog_box.dismiss()
toast(text_item) toast(text_item)
# @staticmethod
# def callback_for_menu_items(text_item, *arg):
# """Callback of alert box"""
# toast(text_item)
def reset_composer(self): def reset_composer(self):
"""Method will reset composer""" """Method will reset composer"""
self.ids.ti.text = "" self.ids.ti.text = ""
@ -1237,8 +1231,6 @@ class Random(Screen):
entered_label = str(self.ids.add_random_bx.children[0].ids.lab.text).strip() entered_label = str(self.ids.add_random_bx.children[0].ids.lab.text).strip()
if not entered_label: if not entered_label:
self.ids.add_random_bx.children[0].ids.lab.focus = True self.ids.add_random_bx.children[0].ids.lab.focus = True
#self.ids.lab.error = True
#self.ids.lab.helper_text = 'This field is required'
streamNumberForAddress = 1 streamNumberForAddress = 1
eighteenByteRipe = False eighteenByteRipe = False
nonceTrialsPerByte = 1000 nonceTrialsPerByte = 1000
@ -1773,7 +1765,6 @@ class NavigateApp(MDApp):
count = 0 count = 0
manager_open = False manager_open = False
file_manager = None file_manager = None
#state.imageDir = os.path.join(os.path.abspath(os.path.join(__file__ ,"../../..")),'images', 'kivy')
state.imageDir = os.path.join('./images', 'kivy') state.imageDir = os.path.join('./images', 'kivy')
image_path = state.imageDir image_path = state.imageDir