Merge pull request #34 from surbhicis/CQkivy5
fixed CQ for bitmessagekivy.mpybit module part6
This commit is contained in:
commit
6d989014f8
|
@ -1080,24 +1080,31 @@ class Payment(Screen):
|
||||||
payloadLengthExtraBytes))
|
payloadLengthExtraBytes))
|
||||||
toast('hidden payment address Creating for buying subscription....')
|
toast('hidden payment address Creating for buying subscription....')
|
||||||
|
|
||||||
|
|
||||||
class Category(BoxLayout, RectangularElevationBehavior):
|
class Category(BoxLayout, RectangularElevationBehavior):
|
||||||
elevation_normal= .01
|
elevation_normal = .01
|
||||||
|
|
||||||
|
|
||||||
class ProductLayout(BoxLayout, RectangularElevationBehavior):
|
class ProductLayout(BoxLayout, RectangularElevationBehavior):
|
||||||
elevation_normal= .01
|
elevation_normal = .01
|
||||||
|
|
||||||
|
|
||||||
class PaymentMethodLayout(BoxLayout):
|
class PaymentMethodLayout(BoxLayout):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class ListItemWithLabel(OneLineAvatarIconListItem):
|
class ListItemWithLabel(OneLineAvatarIconListItem):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class RightLabel(IRightBodyTouch, MDLabel):
|
class RightLabel(IRightBodyTouch, MDLabel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class HomeScreen(Screen):
|
class HomeScreen(Screen):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Credits(Screen):
|
class Credits(Screen):
|
||||||
"""Credits Method"""
|
"""Credits Method"""
|
||||||
|
|
||||||
|
@ -2281,23 +2288,24 @@ class NavigateApp(MDApp):
|
||||||
# self.root.ids.sc7.ids.add_random_bx.clear_widgets()
|
# self.root.ids.sc7.ids.add_random_bx.clear_widgets()
|
||||||
|
|
||||||
def open_payment_layout(self, sku):
|
def open_payment_layout(self, sku):
|
||||||
pml= PaymentMethodLayout()
|
pml = PaymentMethodLayout()
|
||||||
self.product_id= sku
|
self.product_id = sku
|
||||||
self.custom_sheet= MDCustomBottomSheet(screen= pml)
|
self.custom_sheet = MDCustomBottomSheet(screen=pml)
|
||||||
self.custom_sheet.open()
|
self.custom_sheet.open()
|
||||||
|
|
||||||
def initiate_purchase(self, method_name):
|
def initiate_purchase(self, method_name):
|
||||||
#self.custom_sheet.dismiss()
|
# self.custom_sheet.dismiss()
|
||||||
print("Purchasing {} through {}".format(self.product_id, method_name))
|
print("Purchasing {} through {}".format(self.product_id, method_name))
|
||||||
|
|
||||||
def _after_scan(self, text):
|
def _after_scan(self, text):
|
||||||
if platform=='android':
|
if platform == 'android':
|
||||||
text= cast(CharSequence, String(text))
|
text = cast(CharSequence, String(text))
|
||||||
show_toast(text,Toast.LENGTH_SHORT)
|
show_toast(text, Toast.LENGTH_SHORT)
|
||||||
else:
|
else:
|
||||||
self.root.ids.sc3.children[1].ids.txt_input.text = text
|
self.root.ids.sc3.children[1].ids.txt_input.text = text
|
||||||
self.root.ids.scr_mngr.current = 'create'
|
self.root.ids.scr_mngr.current = 'create'
|
||||||
|
|
||||||
|
|
||||||
class GrashofPopup(Popup):
|
class GrashofPopup(Popup):
|
||||||
"""Moule for save contacts and error messages"""
|
"""Moule for save contacts and error messages"""
|
||||||
|
|
||||||
|
@ -2412,9 +2420,11 @@ class GrashofPopup(Popup):
|
||||||
text = "Some data encoded in the address is malformed."
|
text = "Some data encoded in the address is malformed."
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
||||||
class InfoLayout(BoxLayout, RectangularElevationBehavior):
|
class InfoLayout(BoxLayout, RectangularElevationBehavior):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class AvatarSampleWidget(ILeftBody, Image):
|
class AvatarSampleWidget(ILeftBody, Image):
|
||||||
"""Avatar Sample Widget"""
|
"""Avatar Sample Widget"""
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user