Merge pull request #34 from surbhicis/CQkivy5

fixed CQ for bitmessagekivy.mpybit module part6
This commit is contained in:
surbhi 2020-07-09 17:38:57 +05:30 committed by GitHub
commit 6d989014f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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