Update kivy imports
This commit is contained in:
parent
fc18d3c84a
commit
8ba851569e
|
@ -20,14 +20,14 @@ from kivy.properties import (
|
||||||
from kivy.uix.screenmanager import Screen
|
from kivy.uix.screenmanager import Screen
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
|
|
||||||
from bitmessagekivy.get_platform import platform
|
from pybitmessage.bitmessagekivy.get_platform import platform
|
||||||
from bitmessagekivy import kivy_helper_search
|
from pybitmessage.bitmessagekivy import kivy_helper_search
|
||||||
from bitmessagekivy.baseclass.common import (
|
from pybitmessage.bitmessagekivy.baseclass.common import (
|
||||||
avatarImageFirstLetter, toast, empty_screen_label,
|
avatarImageFirstLetter, toast, empty_screen_label,
|
||||||
ThemeClsColor, SwipeToDeleteItem, kivy_state_variables
|
ThemeClsColor, SwipeToDeleteItem, kivy_state_variables
|
||||||
)
|
)
|
||||||
from bitmessagekivy.baseclass.popup import SavedAddressDetailPopup
|
from pybitmessage.bitmessagekivy.baseclass.popup import SavedAddressDetailPopup
|
||||||
from bitmessagekivy.baseclass.addressbook_widgets import HelperAddressBook
|
from pybitmessage.bitmessagekivy.baseclass.addressbook_widgets import HelperAddressBook
|
||||||
from debug import logger
|
from debug import logger
|
||||||
from helper_sql import sqlExecute
|
from helper_sql import sqlExecute
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ from kivymd.toast import kivytoast
|
||||||
from kivymd.uix.card import MDCardSwipe
|
from kivymd.uix.card import MDCardSwipe
|
||||||
from kivymd.uix.chip import MDChip
|
from kivymd.uix.chip import MDChip
|
||||||
|
|
||||||
from bitmessagekivy.get_platform import platform
|
from pybitmessage.bitmessagekivy.get_platform import platform
|
||||||
|
|
||||||
|
|
||||||
ThemeClsColor = [0.12, 0.58, 0.95, 1]
|
ThemeClsColor = [0.12, 0.58, 0.95, 1]
|
||||||
|
@ -35,7 +35,7 @@ data_screens = {
|
||||||
"Factory": "MailDetail()",
|
"Factory": "MailDetail()",
|
||||||
"name_screen": "mailDetail",
|
"name_screen": "mailDetail",
|
||||||
"object": 0,
|
"object": 0,
|
||||||
"Import": "from bitmessagekivy.baseclass.maildetail import MailDetail",
|
"Import": "from pybitmessage.bitmessagekivy.baseclass.maildetail import MailDetail",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
All Common widgets of kivy are managed here.
|
All Common widgets of kivy are managed here.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from bitmessagekivy.baseclass.maildetail import MailDetail
|
from pybitmessage.bitmessagekivy.baseclass.maildetail import MailDetail
|
||||||
from bitmessagekivy.baseclass.common import kivy_state_variables
|
from pybitmessage.bitmessagekivy.baseclass.common import kivy_state_variables
|
||||||
|
|
||||||
|
|
||||||
def mail_detail_screen(screen_name, msg_id, instance, folder, *args): # pylint: disable=unused-argument
|
def mail_detail_screen(screen_name, msg_id, instance, folder, *args): # pylint: disable=unused-argument
|
||||||
|
|
|
@ -14,7 +14,7 @@ from kivy.app import App
|
||||||
|
|
||||||
from backend.address_generator import AddressGenerator # pylint: disable=import-error
|
from backend.address_generator import AddressGenerator # pylint: disable=import-error
|
||||||
from kivymd.uix.behaviors.elevation import RectangularElevationBehavior
|
from kivymd.uix.behaviors.elevation import RectangularElevationBehavior
|
||||||
from bitmessagekivy.baseclass.common import toast
|
from pybitmessage.bitmessagekivy.baseclass.common import toast
|
||||||
from bmconfigparser import config
|
from bmconfigparser import config
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,11 @@ from kivymd.uix.list import (
|
||||||
IRightBodyTouch
|
IRightBodyTouch
|
||||||
)
|
)
|
||||||
|
|
||||||
from bitmessagekivy.baseclass.common import (
|
from pybitmessage.bitmessagekivy.baseclass.common import (
|
||||||
toast, avatarImageFirstLetter, ShowTimeHistoy, kivy_state_variables
|
toast, avatarImageFirstLetter, ShowTimeHistoy, kivy_state_variables
|
||||||
)
|
)
|
||||||
from bitmessagekivy.baseclass.popup import SenderDetailPopup
|
from pybitmessage.bitmessagekivy.baseclass.popup import SenderDetailPopup
|
||||||
from bitmessagekivy.get_platform import platform
|
from pybitmessage.bitmessagekivy.get_platform import platform
|
||||||
from helper_sql import sqlQuery
|
from helper_sql import sqlQuery
|
||||||
from helper_sent import delete, retrieve_message_details
|
from helper_sent import delete, retrieve_message_details
|
||||||
from helper_inbox import trash
|
from helper_inbox import trash
|
||||||
|
|
|
@ -15,7 +15,7 @@ from kivymd.uix.list import (
|
||||||
OneLineAvatarIconListItem
|
OneLineAvatarIconListItem
|
||||||
)
|
)
|
||||||
|
|
||||||
from bitmessagekivy.baseclass.common import toast, kivy_state_variables
|
from pybitmessage.bitmessagekivy.baseclass.common import toast, kivy_state_variables
|
||||||
|
|
||||||
|
|
||||||
class Payment(Screen):
|
class Payment(Screen):
|
||||||
|
|
|
@ -15,10 +15,10 @@ from kivy.uix.boxlayout import BoxLayout
|
||||||
from kivy.uix.popup import Popup
|
from kivy.uix.popup import Popup
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
|
|
||||||
from bitmessagekivy import kivy_helper_search
|
from pybitmessage.bitmessagekivy import kivy_helper_search
|
||||||
from bitmessagekivy.get_platform import platform
|
from pybitmessage.bitmessagekivy.get_platform import platform
|
||||||
|
|
||||||
from bitmessagekivy.baseclass.common import toast
|
from pybitmessage.bitmessagekivy.baseclass.common import toast
|
||||||
|
|
||||||
from addresses import decodeAddress
|
from addresses import decodeAddress
|
||||||
from debug import logger
|
from debug import logger
|
||||||
|
|
|
@ -18,7 +18,7 @@ from kivy.properties import (
|
||||||
)
|
)
|
||||||
from kivy.uix.screenmanager import Screen
|
from kivy.uix.screenmanager import Screen
|
||||||
|
|
||||||
from bitmessagekivy.get_platform import platform
|
from pybitmessage.bitmessagekivy.get_platform import platform
|
||||||
|
|
||||||
from debug import logger
|
from debug import logger
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import queues
|
||||||
import state
|
import state
|
||||||
|
|
||||||
from debug import logger
|
from debug import logger
|
||||||
from bitmessagekivy.baseclass.common import kivy_state_variables
|
from pybitmessage.bitmessagekivy.baseclass.common import kivy_state_variables
|
||||||
|
|
||||||
|
|
||||||
class UIkivySignaler(Thread):
|
class UIkivySignaler(Thread):
|
||||||
|
|
Reference in New Issue
Block a user