fixed code quality
This commit is contained in:
parent
1b81d07b05
commit
56a22d3526
|
@ -62,7 +62,7 @@ class AddressBook(Screen):
|
||||||
exist_addresses = len(self.ids.ml.children)
|
exist_addresses = len(self.ids.ml.children)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def refreshs(*args):
|
def refreshes(*args):
|
||||||
"""Refresh the Widget"""
|
"""Refresh the Widget"""
|
||||||
# state.navinstance.ids.sc11.ids.ml.clear_widgets()
|
# state.navinstance.ids.sc11.ids.ml.clear_widgets()
|
||||||
# state.navinstance.ids.sc11.loadAddresslist(None, 'All', '')
|
# state.navinstance.ids.sc11.loadAddresslist(None, 'All', '')
|
||||||
|
|
|
@ -15,7 +15,6 @@ from pybitmessage.baseclass.common import (
|
||||||
showLimitedCnt, toast, ThemeClsColor,
|
showLimitedCnt, toast, ThemeClsColor,
|
||||||
SwipeToDeleteItem, ShowTimeHistoy
|
SwipeToDeleteItem, ShowTimeHistoy
|
||||||
)
|
)
|
||||||
# from pybitmessage.baseclass.maildetail import MailDetail
|
|
||||||
|
|
||||||
|
|
||||||
class Draft(Screen):
|
class Draft(Screen):
|
||||||
|
|
|
@ -1,16 +1,14 @@
|
||||||
from pybitmessage import queues
|
from pybitmessage import queues
|
||||||
|
|
||||||
from pybitmessage.bmconfigparser import BMConfigParser
|
from pybitmessage.bmconfigparser import BMConfigParser
|
||||||
|
from pybitmessage import state
|
||||||
|
from pybitmessage.baseclass.common import toast
|
||||||
|
|
||||||
from kivy.clock import Clock
|
from kivy.clock import Clock
|
||||||
from kivy.properties import StringProperty, BooleanProperty
|
from kivy.properties import StringProperty, BooleanProperty
|
||||||
from kivy.uix.boxlayout import BoxLayout
|
from kivy.uix.boxlayout import BoxLayout
|
||||||
from kivymd.uix.behaviors.elevation import RectangularElevationBehavior
|
from kivymd.uix.behaviors.elevation import RectangularElevationBehavior
|
||||||
from kivy.uix.screenmanager import Screen
|
from kivy.uix.screenmanager import Screen
|
||||||
|
|
||||||
from pybitmessage import state
|
|
||||||
|
|
||||||
from pybitmessage.baseclass.common import toast
|
|
||||||
|
|
||||||
|
|
||||||
class Login(Screen):
|
class Login(Screen):
|
||||||
"""Login Screeen class for kivy Ui"""
|
"""Login Screeen class for kivy Ui"""
|
||||||
|
|
|
@ -2,7 +2,6 @@ from pybitmessage.get_platform import platform
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from pybitmessage.bmconfigparser import BMConfigParser
|
from pybitmessage.bmconfigparser import BMConfigParser
|
||||||
from kivy.clock import Clock
|
from kivy.clock import Clock
|
||||||
# from kivy.metrics import dp
|
|
||||||
from kivy.properties import (
|
from kivy.properties import (
|
||||||
ListProperty,
|
ListProperty,
|
||||||
StringProperty
|
StringProperty
|
||||||
|
|
|
@ -11,12 +11,6 @@ from kivymd.uix.list import (
|
||||||
OneLineAvatarIconListItem
|
OneLineAvatarIconListItem
|
||||||
)
|
)
|
||||||
|
|
||||||
# from bmconfigparser import BMConfigParser
|
|
||||||
from pybitmessage.baseclass.common import toast
|
|
||||||
|
|
||||||
# import queues
|
|
||||||
from pybitmessage import state
|
|
||||||
|
|
||||||
|
|
||||||
class Payment(Screen):
|
class Payment(Screen):
|
||||||
"""Payment Screen class for kivy Ui"""
|
"""Payment Screen class for kivy Ui"""
|
||||||
|
|
|
@ -7,7 +7,6 @@ from kivy.uix.boxlayout import BoxLayout
|
||||||
from kivy.uix.popup import Popup
|
from kivy.uix.popup import Popup
|
||||||
|
|
||||||
from pybitmessage import state
|
from pybitmessage import state
|
||||||
from pybitmessage.addresses import decodeAddress
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from pybitmessage.baseclass.common import toast
|
from pybitmessage.baseclass.common import toast
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from kivy.clock import Clock
|
from kivy.clock import Clock
|
||||||
from kivy.factory import Factory
|
|
||||||
from kivy.properties import StringProperty, ListProperty
|
from kivy.properties import StringProperty, ListProperty
|
||||||
|
|
||||||
from kivy.uix.screenmanager import Screen
|
from kivy.uix.screenmanager import Screen
|
||||||
|
|
|
@ -1,22 +1,14 @@
|
||||||
from pybitmessage.get_platform import platform
|
|
||||||
from functools import partial
|
|
||||||
from kivy.clock import Clock
|
from kivy.clock import Clock
|
||||||
from kivy.properties import (
|
from kivy.properties import (
|
||||||
ListProperty,
|
ListProperty,
|
||||||
StringProperty
|
StringProperty
|
||||||
)
|
)
|
||||||
from kivymd.uix.button import MDFlatButton
|
|
||||||
from kivymd.uix.dialog import MDDialog
|
|
||||||
from kivymd.uix.label import MDLabel
|
from kivymd.uix.label import MDLabel
|
||||||
from kivy.uix.screenmanager import Screen
|
from kivy.uix.screenmanager import Screen
|
||||||
|
|
||||||
from pybitmessage import state
|
from pybitmessage import state
|
||||||
|
|
||||||
from pybitmessage.baseclass.common import (
|
from pybitmessage.baseclass.common import showLimitedCnt
|
||||||
toast, showLimitedCnt, ThemeClsColor,
|
|
||||||
CutsomSwipeToDeleteItem, ShowTimeHistoy,
|
|
||||||
avatarImageFirstLetter
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class Trash(Screen):
|
class Trash(Screen):
|
||||||
|
|
Reference in New Issue
Block a user