diff --git a/keys.dat b/keys.dat index 2ce6148b..293769bc 100644 --- a/keys.dat +++ b/keys.dat @@ -1,5 +1,5 @@ [BM-2cUgQGcTLWAkC6dNsv2Bc8XB3Y1GEesVLV] -label = sad +label = sada enabled = true privsigningkey = 5KWXwYq1oJMzghUSJaJoWPn8VdeBbhDN8zFot1cBd6ezKKReqBd privencryptionkey = 5JaeFJs8iPcQT3N8676r3gHKvJ5mTWXy1VLhGCEDqRs4vpvpxV8 diff --git a/src/bitmessagekivy/main.kv b/src/bitmessagekivy/main.kv index c487b22f..1dd40456 100644 --- a/src/bitmessagekivy/main.kv +++ b/src/bitmessagekivy/main.kv @@ -216,36 +216,36 @@ MDNavigationLayout: id: scr_mngr size_hint_y: None height: root.height - toolbar.height - # Inbox: - # id:sc1 -# # Page: -# # id:sc2 - # Create: - # id:sc3 - # Sent: - # id:sc4 - # Trash: - # id:sc5 + Inbox: + id:sc1 +# # # Page: +# # # id:sc2 + Create: + id:sc3 + Sent: + id:sc4 + Trash: + id:sc5 Login: id:sc6 Random: id:sc7 # Spam: # id:sc8 - # Setting: - # id:sc9 + Setting: + id:sc9 MyAddress: id:sc10 - # AddressBook: - # id:sc11 - # Payment: - # id:sc12 + AddressBook: + id:sc11 + Payment: + id:sc12 NetworkStat: id:sc13 # MailDetail: # id:sc14 - ShowQRCode: - id:sc15 + # ShowQRCode: + # id:sc15 Draft: id:sc16 Allmails: diff --git a/src/bitmessagekivy/mpybit.py b/src/bitmessagekivy/mpybit.py index 9789cc1e..4727e362 100644 --- a/src/bitmessagekivy/mpybit.py +++ b/src/bitmessagekivy/mpybit.py @@ -47,7 +47,7 @@ from kivymd.uix.bottomsheet import MDCustomBottomSheet from kivy.lang import Observable import ast -# from pybitmessage.baseclass.common import toast +from baseclass.common import toast if platform != "android": @@ -748,7 +748,7 @@ class NavigateApp(MDApp): """This method is rotating loader for few seconds""" if instance.text == 'Inbox': self.root.ids.sc1.ids.ml.clear_widgets() - self.root.ids.sc1.loadMessagelist(state.association) + self.root.ids.sc1.loadMessagelist() self.root.ids.sc1.children[1].active = False elif instance.text == 'All Mails': self.root.ids.sc17.clear_widgets() diff --git a/src/images/kivy/3.zip b/src/images/kivy/3.zip new file mode 100644 index 00000000..34d555fe Binary files /dev/null and b/src/images/kivy/3.zip differ diff --git a/src/images/kivy/account_multiple.png b/src/images/kivy/account_multiple.png new file mode 100644 index 00000000..11271619 Binary files /dev/null and b/src/images/kivy/account_multiple.png differ diff --git a/src/images/kivy/addressbook.png b/src/images/kivy/addressbook.png new file mode 100644 index 00000000..69424134 Binary files /dev/null and b/src/images/kivy/addressbook.png differ diff --git a/src/images/kivy/addressbookadd.png b/src/images/kivy/addressbookadd.png new file mode 100644 index 00000000..82af2f63 Binary files /dev/null and b/src/images/kivy/addressbookadd.png differ diff --git a/src/images/kivy/avatar.png b/src/images/kivy/avatar.png new file mode 100644 index 00000000..b006bfa2 Binary files /dev/null and b/src/images/kivy/avatar.png differ diff --git a/src/images/kivy/back-button.png b/src/images/kivy/back-button.png new file mode 100644 index 00000000..e260b08b Binary files /dev/null and b/src/images/kivy/back-button.png differ diff --git a/src/images/kivy/bitmessage.icns b/src/images/kivy/bitmessage.icns new file mode 100644 index 00000000..5fe52d4e Binary files /dev/null and b/src/images/kivy/bitmessage.icns differ diff --git a/src/images/kivy/black_cross.png b/src/images/kivy/black_cross.png new file mode 100644 index 00000000..a71b611b Binary files /dev/null and b/src/images/kivy/black_cross.png differ diff --git a/src/images/kivy/blacklist.png b/src/images/kivy/blacklist.png new file mode 100644 index 00000000..820065a4 Binary files /dev/null and b/src/images/kivy/blacklist.png differ diff --git a/src/images/kivy/blue-plus-icon-12.png b/src/images/kivy/blue-plus-icon-12.png new file mode 100644 index 00000000..f9007861 Binary files /dev/null and b/src/images/kivy/blue-plus-icon-12.png differ diff --git a/src/images/kivy/can-icon-16px.png b/src/images/kivy/can-icon-16px.png new file mode 100644 index 00000000..c649919f Binary files /dev/null and b/src/images/kivy/can-icon-16px.png differ diff --git a/src/images/kivy/can-icon-24px-green.png b/src/images/kivy/can-icon-24px-green.png new file mode 100644 index 00000000..652da9c0 Binary files /dev/null and b/src/images/kivy/can-icon-24px-green.png differ diff --git a/src/images/kivy/can-icon-24px-red.png b/src/images/kivy/can-icon-24px-red.png new file mode 100644 index 00000000..cf66fcbb Binary files /dev/null and b/src/images/kivy/can-icon-24px-red.png differ diff --git a/src/images/kivy/can-icon-24px-yellow.png b/src/images/kivy/can-icon-24px-yellow.png new file mode 100644 index 00000000..0a26470b Binary files /dev/null and b/src/images/kivy/can-icon-24px-yellow.png differ diff --git a/src/images/kivy/can-icon-24px.png b/src/images/kivy/can-icon-24px.png new file mode 100644 index 00000000..30f7313e Binary files /dev/null and b/src/images/kivy/can-icon-24px.png differ diff --git a/src/images/kivy/can-icon.ico b/src/images/kivy/can-icon.ico new file mode 100644 index 00000000..903bf3da Binary files /dev/null and b/src/images/kivy/can-icon.ico differ diff --git a/src/images/kivy/copy_text.png b/src/images/kivy/copy_text.png new file mode 100644 index 00000000..dcc63611 Binary files /dev/null and b/src/images/kivy/copy_text.png differ diff --git a/src/images/kivy/down-arrow.png b/src/images/kivy/down-arrow.png new file mode 100644 index 00000000..bf3e864c Binary files /dev/null and b/src/images/kivy/down-arrow.png differ diff --git a/src/images/kivy/drawer_logo1.png b/src/images/kivy/drawer_logo1.png new file mode 100644 index 00000000..4152cc40 Binary files /dev/null and b/src/images/kivy/drawer_logo1.png differ diff --git a/src/images/kivy/greenicon.png b/src/images/kivy/greenicon.png new file mode 100644 index 00000000..cedf9dc2 Binary files /dev/null and b/src/images/kivy/greenicon.png differ diff --git a/src/images/kivy/identities.png b/src/images/kivy/identities.png new file mode 100644 index 00000000..a6aae040 Binary files /dev/null and b/src/images/kivy/identities.png differ diff --git a/src/images/kivy/inbox.png b/src/images/kivy/inbox.png new file mode 100644 index 00000000..dc6a6f75 Binary files /dev/null and b/src/images/kivy/inbox.png differ diff --git a/src/images/kivy/kivymd_logo.png b/src/images/kivy/kivymd_logo.png new file mode 100644 index 00000000..ce39b0d4 Binary files /dev/null and b/src/images/kivy/kivymd_logo.png differ diff --git a/src/images/kivy/left_arrow.png b/src/images/kivy/left_arrow.png new file mode 100644 index 00000000..0f01c425 Binary files /dev/null and b/src/images/kivy/left_arrow.png differ diff --git a/src/images/kivy/loader.gif b/src/images/kivy/loader.gif new file mode 100644 index 00000000..29064d57 Binary files /dev/null and b/src/images/kivy/loader.gif differ diff --git a/src/images/kivy/loader.zip b/src/images/kivy/loader.zip new file mode 100644 index 00000000..c80a3a17 Binary files /dev/null and b/src/images/kivy/loader.zip differ diff --git a/src/images/kivy/me.jpg b/src/images/kivy/me.jpg new file mode 100644 index 00000000..f54c791f Binary files /dev/null and b/src/images/kivy/me.jpg differ diff --git a/src/images/kivy/networkstatus.png b/src/images/kivy/networkstatus.png new file mode 100644 index 00000000..b702ee85 Binary files /dev/null and b/src/images/kivy/networkstatus.png differ diff --git a/src/images/kivy/ngletteravatar/1.png b/src/images/kivy/ngletteravatar/1.png new file mode 100644 index 00000000..9436c7d2 Binary files /dev/null and b/src/images/kivy/ngletteravatar/1.png differ diff --git a/src/images/kivy/ngletteravatar/12.png b/src/images/kivy/ngletteravatar/12.png new file mode 100644 index 00000000..de894b4a Binary files /dev/null and b/src/images/kivy/ngletteravatar/12.png differ diff --git a/src/images/kivy/ngletteravatar/14.png b/src/images/kivy/ngletteravatar/14.png new file mode 100644 index 00000000..42b692dd Binary files /dev/null and b/src/images/kivy/ngletteravatar/14.png differ diff --git a/src/images/kivy/ngletteravatar/3.png b/src/images/kivy/ngletteravatar/3.png new file mode 100644 index 00000000..ad83cef2 Binary files /dev/null and b/src/images/kivy/ngletteravatar/3.png differ diff --git a/src/images/kivy/ngletteravatar/5.png b/src/images/kivy/ngletteravatar/5.png new file mode 100644 index 00000000..3875aace Binary files /dev/null and b/src/images/kivy/ngletteravatar/5.png differ diff --git a/src/images/kivy/ngletteravatar/56.png b/src/images/kivy/ngletteravatar/56.png new file mode 100644 index 00000000..33f038cf Binary files /dev/null and b/src/images/kivy/ngletteravatar/56.png differ diff --git a/src/images/kivy/ngletteravatar/65.png b/src/images/kivy/ngletteravatar/65.png new file mode 100644 index 00000000..fb608098 Binary files /dev/null and b/src/images/kivy/ngletteravatar/65.png differ diff --git a/src/images/kivy/ngletteravatar/8.png b/src/images/kivy/ngletteravatar/8.png new file mode 100644 index 00000000..dd2671e9 Binary files /dev/null and b/src/images/kivy/ngletteravatar/8.png differ diff --git a/src/images/kivy/ngletteravatar/90.png b/src/images/kivy/ngletteravatar/90.png new file mode 100644 index 00000000..7d1770ab Binary files /dev/null and b/src/images/kivy/ngletteravatar/90.png differ diff --git a/src/images/kivy/ngletteravatar/Galleryr_rcirclelogo_Small.jpg b/src/images/kivy/ngletteravatar/Galleryr_rcirclelogo_Small.jpg new file mode 100644 index 00000000..8e3b1c35 Binary files /dev/null and b/src/images/kivy/ngletteravatar/Galleryr_rcirclelogo_Small.jpg differ diff --git a/src/images/kivy/ngletteravatar/a.png b/src/images/kivy/ngletteravatar/a.png new file mode 100644 index 00000000..1c3bb8bf Binary files /dev/null and b/src/images/kivy/ngletteravatar/a.png differ diff --git a/src/images/kivy/ngletteravatar/b.png b/src/images/kivy/ngletteravatar/b.png new file mode 100644 index 00000000..462bf808 Binary files /dev/null and b/src/images/kivy/ngletteravatar/b.png differ diff --git a/src/images/kivy/ngletteravatar/c.png b/src/images/kivy/ngletteravatar/c.png new file mode 100644 index 00000000..180b7edc Binary files /dev/null and b/src/images/kivy/ngletteravatar/c.png differ diff --git a/src/images/kivy/ngletteravatar/d.png b/src/images/kivy/ngletteravatar/d.png new file mode 100644 index 00000000..9e983e4d Binary files /dev/null and b/src/images/kivy/ngletteravatar/d.png differ diff --git a/src/images/kivy/ngletteravatar/depositphotos_142729281-stock-illustration-letter-l-sign-design-template.jpg b/src/images/kivy/ngletteravatar/depositphotos_142729281-stock-illustration-letter-l-sign-design-template.jpg new file mode 100644 index 00000000..7630511f Binary files /dev/null and b/src/images/kivy/ngletteravatar/depositphotos_142729281-stock-illustration-letter-l-sign-design-template.jpg differ diff --git a/src/images/kivy/ngletteravatar/e.png b/src/images/kivy/ngletteravatar/e.png new file mode 100644 index 00000000..60961992 Binary files /dev/null and b/src/images/kivy/ngletteravatar/e.png differ diff --git a/src/images/kivy/ngletteravatar/g.png b/src/images/kivy/ngletteravatar/g.png new file mode 100644 index 00000000..762cc6fa Binary files /dev/null and b/src/images/kivy/ngletteravatar/g.png differ diff --git a/src/images/kivy/ngletteravatar/h.png b/src/images/kivy/ngletteravatar/h.png new file mode 100644 index 00000000..8f752952 Binary files /dev/null and b/src/images/kivy/ngletteravatar/h.png differ diff --git a/src/images/kivy/ngletteravatar/i.png b/src/images/kivy/ngletteravatar/i.png new file mode 100644 index 00000000..a89710ef Binary files /dev/null and b/src/images/kivy/ngletteravatar/i.png differ diff --git a/src/images/kivy/ngletteravatar/j.png b/src/images/kivy/ngletteravatar/j.png new file mode 100644 index 00000000..926de34c Binary files /dev/null and b/src/images/kivy/ngletteravatar/j.png differ diff --git a/src/images/kivy/ngletteravatar/k.png b/src/images/kivy/ngletteravatar/k.png new file mode 100644 index 00000000..77da163e Binary files /dev/null and b/src/images/kivy/ngletteravatar/k.png differ diff --git a/src/images/kivy/ngletteravatar/l.png b/src/images/kivy/ngletteravatar/l.png new file mode 100644 index 00000000..e6112f2a Binary files /dev/null and b/src/images/kivy/ngletteravatar/l.png differ diff --git a/src/images/kivy/ngletteravatar/m.png b/src/images/kivy/ngletteravatar/m.png new file mode 100644 index 00000000..c93554a1 Binary files /dev/null and b/src/images/kivy/ngletteravatar/m.png differ diff --git a/src/images/kivy/ngletteravatar/n.png b/src/images/kivy/ngletteravatar/n.png new file mode 100644 index 00000000..8158a1e4 Binary files /dev/null and b/src/images/kivy/ngletteravatar/n.png differ diff --git a/src/images/kivy/ngletteravatar/o.png b/src/images/kivy/ngletteravatar/o.png new file mode 100644 index 00000000..729a82a6 Binary files /dev/null and b/src/images/kivy/ngletteravatar/o.png differ diff --git a/src/images/kivy/ngletteravatar/p.png b/src/images/kivy/ngletteravatar/p.png new file mode 100644 index 00000000..b3adb0ce Binary files /dev/null and b/src/images/kivy/ngletteravatar/p.png differ diff --git a/src/images/kivy/ngletteravatar/r.png b/src/images/kivy/ngletteravatar/r.png new file mode 100644 index 00000000..1b64b8ee Binary files /dev/null and b/src/images/kivy/ngletteravatar/r.png differ diff --git a/src/images/kivy/ngletteravatar/s.png b/src/images/kivy/ngletteravatar/s.png new file mode 100644 index 00000000..8813d11a Binary files /dev/null and b/src/images/kivy/ngletteravatar/s.png differ diff --git a/src/images/kivy/ngletteravatar/t.jpg b/src/images/kivy/ngletteravatar/t.jpg new file mode 100644 index 00000000..20932aad Binary files /dev/null and b/src/images/kivy/ngletteravatar/t.jpg differ diff --git a/src/images/kivy/ngletteravatar/u.png b/src/images/kivy/ngletteravatar/u.png new file mode 100644 index 00000000..6af53add Binary files /dev/null and b/src/images/kivy/ngletteravatar/u.png differ diff --git a/src/images/kivy/ngletteravatar/v.png b/src/images/kivy/ngletteravatar/v.png new file mode 100644 index 00000000..aaaf191e Binary files /dev/null and b/src/images/kivy/ngletteravatar/v.png differ diff --git a/src/images/kivy/ngletteravatar/w.png b/src/images/kivy/ngletteravatar/w.png new file mode 100644 index 00000000..20ff7ed9 Binary files /dev/null and b/src/images/kivy/ngletteravatar/w.png differ diff --git a/src/images/kivy/ngletteravatar/x.jpg b/src/images/kivy/ngletteravatar/x.jpg new file mode 100644 index 00000000..107f1732 Binary files /dev/null and b/src/images/kivy/ngletteravatar/x.jpg differ diff --git a/src/images/kivy/ngletteravatar/z.png b/src/images/kivy/ngletteravatar/z.png new file mode 100644 index 00000000..efcda8fe Binary files /dev/null and b/src/images/kivy/ngletteravatar/z.png differ diff --git a/src/images/kivy/no_identicons.png b/src/images/kivy/no_identicons.png new file mode 100644 index 00000000..513f1d10 Binary files /dev/null and b/src/images/kivy/no_identicons.png differ diff --git a/src/images/kivy/payment/btc.png b/src/images/kivy/payment/btc.png new file mode 100644 index 00000000..33302ff8 Binary files /dev/null and b/src/images/kivy/payment/btc.png differ diff --git a/src/images/kivy/payment/buy.png b/src/images/kivy/payment/buy.png new file mode 100644 index 00000000..3a63af11 Binary files /dev/null and b/src/images/kivy/payment/buy.png differ diff --git a/src/images/kivy/payment/buynew.png b/src/images/kivy/payment/buynew.png new file mode 100644 index 00000000..852e57b5 Binary files /dev/null and b/src/images/kivy/payment/buynew.png differ diff --git a/src/images/kivy/payment/buynew1.png b/src/images/kivy/payment/buynew1.png new file mode 100644 index 00000000..f02090f8 Binary files /dev/null and b/src/images/kivy/payment/buynew1.png differ diff --git a/src/images/kivy/payment/credits.jpeg b/src/images/kivy/payment/credits.jpeg new file mode 100644 index 00000000..6b75132a Binary files /dev/null and b/src/images/kivy/payment/credits.jpeg differ diff --git a/src/images/kivy/payment/creditss.png b/src/images/kivy/payment/creditss.png new file mode 100644 index 00000000..b45cd997 Binary files /dev/null and b/src/images/kivy/payment/creditss.png differ diff --git a/src/images/kivy/payment/gpay.png b/src/images/kivy/payment/gpay.png new file mode 100644 index 00000000..62aa55cd Binary files /dev/null and b/src/images/kivy/payment/gpay.png differ diff --git a/src/images/kivy/payment/gplay.png b/src/images/kivy/payment/gplay.png new file mode 100644 index 00000000..69550edd Binary files /dev/null and b/src/images/kivy/payment/gplay.png differ diff --git a/src/images/kivy/payment/gplayfinal.png b/src/images/kivy/payment/gplayfinal.png new file mode 100644 index 00000000..16d0d538 Binary files /dev/null and b/src/images/kivy/payment/gplayfinal.png differ diff --git a/src/images/kivy/payment/gplayss.png b/src/images/kivy/payment/gplayss.png new file mode 100644 index 00000000..67f293fd Binary files /dev/null and b/src/images/kivy/payment/gplayss.png differ diff --git a/src/images/kivy/payment/paypal.png b/src/images/kivy/payment/paypal.png new file mode 100644 index 00000000..f994130d Binary files /dev/null and b/src/images/kivy/payment/paypal.png differ diff --git a/src/images/kivy/plus-4-xxl.png b/src/images/kivy/plus-4-xxl.png new file mode 100644 index 00000000..1f178267 Binary files /dev/null and b/src/images/kivy/plus-4-xxl.png differ diff --git a/src/images/kivy/plus.png b/src/images/kivy/plus.png new file mode 100644 index 00000000..4fd3478c Binary files /dev/null and b/src/images/kivy/plus.png differ diff --git a/src/images/kivy/qidenticon.png b/src/images/kivy/qidenticon.png new file mode 100644 index 00000000..21abec78 Binary files /dev/null and b/src/images/kivy/qidenticon.png differ diff --git a/src/images/kivy/qidenticon_two.png b/src/images/kivy/qidenticon_two.png new file mode 100644 index 00000000..35180659 Binary files /dev/null and b/src/images/kivy/qidenticon_two.png differ diff --git a/src/images/kivy/qidenticon_two_x.png b/src/images/kivy/qidenticon_two_x.png new file mode 100644 index 00000000..a4851205 Binary files /dev/null and b/src/images/kivy/qidenticon_two_x.png differ diff --git a/src/images/kivy/qidenticon_x.png b/src/images/kivy/qidenticon_x.png new file mode 100644 index 00000000..07e903e5 Binary files /dev/null and b/src/images/kivy/qidenticon_x.png differ diff --git a/src/images/kivy/red.png b/src/images/kivy/red.png new file mode 100644 index 00000000..2570e26a Binary files /dev/null and b/src/images/kivy/red.png differ diff --git a/src/images/kivy/redicon.png b/src/images/kivy/redicon.png new file mode 100644 index 00000000..dfc84b47 Binary files /dev/null and b/src/images/kivy/redicon.png differ diff --git a/src/images/kivy/right-arrow.png b/src/images/kivy/right-arrow.png new file mode 100644 index 00000000..8f136a77 Binary files /dev/null and b/src/images/kivy/right-arrow.png differ diff --git a/src/images/kivy/search.png b/src/images/kivy/search.png new file mode 100644 index 00000000..42a1e45a Binary files /dev/null and b/src/images/kivy/search.png differ diff --git a/src/images/kivy/search_mail.png b/src/images/kivy/search_mail.png new file mode 100644 index 00000000..7b38e9b4 Binary files /dev/null and b/src/images/kivy/search_mail.png differ diff --git a/src/images/kivy/send.png b/src/images/kivy/send.png new file mode 100644 index 00000000..6a7c8302 Binary files /dev/null and b/src/images/kivy/send.png differ diff --git a/src/images/kivy/sent.png b/src/images/kivy/sent.png new file mode 100644 index 00000000..01b5f0dd Binary files /dev/null and b/src/images/kivy/sent.png differ diff --git a/src/images/kivy/subscriptions.png b/src/images/kivy/subscriptions.png new file mode 100644 index 00000000..e4561208 Binary files /dev/null and b/src/images/kivy/subscriptions.png differ diff --git a/src/images/kivy/text_images/!.png b/src/images/kivy/text_images/!.png new file mode 100644 index 00000000..bac2f246 Binary files /dev/null and b/src/images/kivy/text_images/!.png differ diff --git a/src/images/kivy/text_images/0.png b/src/images/kivy/text_images/0.png new file mode 100644 index 00000000..2b8b63e3 Binary files /dev/null and b/src/images/kivy/text_images/0.png differ diff --git a/src/images/kivy/text_images/1.png b/src/images/kivy/text_images/1.png new file mode 100644 index 00000000..3918f6d3 Binary files /dev/null and b/src/images/kivy/text_images/1.png differ diff --git a/src/images/kivy/text_images/2.png b/src/images/kivy/text_images/2.png new file mode 100644 index 00000000..0cf202e9 Binary files /dev/null and b/src/images/kivy/text_images/2.png differ diff --git a/src/images/kivy/text_images/3.png b/src/images/kivy/text_images/3.png new file mode 100644 index 00000000..f9d612dd Binary files /dev/null and b/src/images/kivy/text_images/3.png differ diff --git a/src/images/kivy/text_images/4.png b/src/images/kivy/text_images/4.png new file mode 100644 index 00000000..f2ab33e1 Binary files /dev/null and b/src/images/kivy/text_images/4.png differ diff --git a/src/images/kivy/text_images/5.png b/src/images/kivy/text_images/5.png new file mode 100644 index 00000000..09d6e56e Binary files /dev/null and b/src/images/kivy/text_images/5.png differ diff --git a/src/images/kivy/text_images/6.png b/src/images/kivy/text_images/6.png new file mode 100644 index 00000000..e385a954 Binary files /dev/null and b/src/images/kivy/text_images/6.png differ diff --git a/src/images/kivy/text_images/7.png b/src/images/kivy/text_images/7.png new file mode 100644 index 00000000..55fc4f77 Binary files /dev/null and b/src/images/kivy/text_images/7.png differ diff --git a/src/images/kivy/text_images/8.png b/src/images/kivy/text_images/8.png new file mode 100644 index 00000000..2a3fa76f Binary files /dev/null and b/src/images/kivy/text_images/8.png differ diff --git a/src/images/kivy/text_images/9.png b/src/images/kivy/text_images/9.png new file mode 100644 index 00000000..81ad9084 Binary files /dev/null and b/src/images/kivy/text_images/9.png differ diff --git a/src/images/kivy/text_images/A.png b/src/images/kivy/text_images/A.png new file mode 100644 index 00000000..64ed6110 Binary files /dev/null and b/src/images/kivy/text_images/A.png differ diff --git a/src/images/kivy/text_images/B.png b/src/images/kivy/text_images/B.png new file mode 100644 index 00000000..2db56c1f Binary files /dev/null and b/src/images/kivy/text_images/B.png differ diff --git a/src/images/kivy/text_images/C.png b/src/images/kivy/text_images/C.png new file mode 100644 index 00000000..47a4052c Binary files /dev/null and b/src/images/kivy/text_images/C.png differ diff --git a/src/images/kivy/text_images/D.png b/src/images/kivy/text_images/D.png new file mode 100644 index 00000000..2549ffc2 Binary files /dev/null and b/src/images/kivy/text_images/D.png differ diff --git a/src/images/kivy/text_images/E.png b/src/images/kivy/text_images/E.png new file mode 100644 index 00000000..5d631611 Binary files /dev/null and b/src/images/kivy/text_images/E.png differ diff --git a/src/images/kivy/text_images/F.png b/src/images/kivy/text_images/F.png new file mode 100644 index 00000000..43086f38 Binary files /dev/null and b/src/images/kivy/text_images/F.png differ diff --git a/src/images/kivy/text_images/G.png b/src/images/kivy/text_images/G.png new file mode 100644 index 00000000..32d1709d Binary files /dev/null and b/src/images/kivy/text_images/G.png differ diff --git a/src/images/kivy/text_images/H.png b/src/images/kivy/text_images/H.png new file mode 100644 index 00000000..279bd1ce Binary files /dev/null and b/src/images/kivy/text_images/H.png differ diff --git a/src/images/kivy/text_images/I.png b/src/images/kivy/text_images/I.png new file mode 100644 index 00000000..c88f048d Binary files /dev/null and b/src/images/kivy/text_images/I.png differ diff --git a/src/images/kivy/text_images/J.png b/src/images/kivy/text_images/J.png new file mode 100644 index 00000000..15331171 Binary files /dev/null and b/src/images/kivy/text_images/J.png differ diff --git a/src/images/kivy/text_images/K.png b/src/images/kivy/text_images/K.png new file mode 100644 index 00000000..9afcadd7 Binary files /dev/null and b/src/images/kivy/text_images/K.png differ diff --git a/src/images/kivy/text_images/L.png b/src/images/kivy/text_images/L.png new file mode 100644 index 00000000..e841b9d9 Binary files /dev/null and b/src/images/kivy/text_images/L.png differ diff --git a/src/images/kivy/text_images/M.png b/src/images/kivy/text_images/M.png new file mode 100644 index 00000000..10de35e9 Binary files /dev/null and b/src/images/kivy/text_images/M.png differ diff --git a/src/images/kivy/text_images/N.png b/src/images/kivy/text_images/N.png new file mode 100644 index 00000000..2d235d06 Binary files /dev/null and b/src/images/kivy/text_images/N.png differ diff --git a/src/images/kivy/text_images/O.png b/src/images/kivy/text_images/O.png new file mode 100644 index 00000000..c0cc972a Binary files /dev/null and b/src/images/kivy/text_images/O.png differ diff --git a/src/images/kivy/text_images/P.png b/src/images/kivy/text_images/P.png new file mode 100644 index 00000000..57ec5012 Binary files /dev/null and b/src/images/kivy/text_images/P.png differ diff --git a/src/images/kivy/text_images/Q.png b/src/images/kivy/text_images/Q.png new file mode 100644 index 00000000..27ffd18b Binary files /dev/null and b/src/images/kivy/text_images/Q.png differ diff --git a/src/images/kivy/text_images/R.png b/src/images/kivy/text_images/R.png new file mode 100644 index 00000000..090646f5 Binary files /dev/null and b/src/images/kivy/text_images/R.png differ diff --git a/src/images/kivy/text_images/S.png b/src/images/kivy/text_images/S.png new file mode 100644 index 00000000..444419cf Binary files /dev/null and b/src/images/kivy/text_images/S.png differ diff --git a/src/images/kivy/text_images/T.png b/src/images/kivy/text_images/T.png new file mode 100644 index 00000000..ace7b36b Binary files /dev/null and b/src/images/kivy/text_images/T.png differ diff --git a/src/images/kivy/text_images/U.png b/src/images/kivy/text_images/U.png new file mode 100644 index 00000000..a47f326e Binary files /dev/null and b/src/images/kivy/text_images/U.png differ diff --git a/src/images/kivy/text_images/V.png b/src/images/kivy/text_images/V.png new file mode 100644 index 00000000..da07d0ac Binary files /dev/null and b/src/images/kivy/text_images/V.png differ diff --git a/src/images/kivy/text_images/W.png b/src/images/kivy/text_images/W.png new file mode 100644 index 00000000..a00f9d7c Binary files /dev/null and b/src/images/kivy/text_images/W.png differ diff --git a/src/images/kivy/text_images/X.png b/src/images/kivy/text_images/X.png new file mode 100644 index 00000000..be919fc4 Binary files /dev/null and b/src/images/kivy/text_images/X.png differ diff --git a/src/images/kivy/text_images/Y.png b/src/images/kivy/text_images/Y.png new file mode 100644 index 00000000..4819bbd1 Binary files /dev/null and b/src/images/kivy/text_images/Y.png differ diff --git a/src/images/kivy/text_images/Z.png b/src/images/kivy/text_images/Z.png new file mode 100644 index 00000000..7d1c8e01 Binary files /dev/null and b/src/images/kivy/text_images/Z.png differ diff --git a/src/images/kivy/transparent.png b/src/images/kivy/transparent.png new file mode 100644 index 00000000..26529139 Binary files /dev/null and b/src/images/kivy/transparent.png differ diff --git a/src/images/kivy/white.png b/src/images/kivy/white.png new file mode 100644 index 00000000..0542f499 Binary files /dev/null and b/src/images/kivy/white.png differ diff --git a/src/images/kivy/yellowicon.png b/src/images/kivy/yellowicon.png new file mode 100644 index 00000000..95e451d5 Binary files /dev/null and b/src/images/kivy/yellowicon.png differ diff --git a/src/mock/baseclass/addressbook.py b/src/mock/baseclass/addressbook.py index 871edcac..9e0e7155 100644 --- a/src/mock/baseclass/addressbook.py +++ b/src/mock/baseclass/addressbook.py @@ -40,7 +40,7 @@ class AddressBook(Screen): def init_ui(self, dt=0): """Clock Schdule for method AddressBook""" - self.loadAddresslist(None, 'All', '') + self.loadAddresslist() print(dt) def loadAddresslist(self): diff --git a/src/mock/baseclass/inbox.py b/src/mock/baseclass/inbox.py index 847201bc..bb271e76 100644 --- a/src/mock/baseclass/inbox.py +++ b/src/mock/baseclass/inbox.py @@ -39,7 +39,7 @@ class Inbox(Screen): if state.kivyapp.variable_1: kivy_state.association = state.kivyapp.variable_1[0] - def init_ui(self): + def init_ui(self, dt=0): """Clock schdule for method inbox accounts""" self.loadMessagelist() diff --git a/src/mock/baseclass/trash.py b/src/mock/baseclass/trash.py index 11084673..915abb9b 100644 --- a/src/mock/baseclass/trash.py +++ b/src/mock/baseclass/trash.py @@ -33,7 +33,7 @@ class Trash(Screen): super(Trash, self).__init__(*args, **kwargs) Clock.schedule_once(self.init_ui, 0) - def init_ui(self): + def init_ui(self, dt=0): """Clock Schdule for method trash screen""" if state.association == '': if state.kivyapp.variable_1: diff --git a/src/mock/images b/src/mock/images index 847b03ed..5e675731 120000 --- a/src/mock/images +++ b/src/mock/images @@ -1 +1 @@ -../../images/ \ No newline at end of file +../images \ No newline at end of file diff --git a/src/mock/pybitmessage/addresses1.py b/src/mock/pybitmessage/addresses1.py deleted file mode 120000 index 88fcee82..00000000 --- a/src/mock/pybitmessage/addresses1.py +++ /dev/null @@ -1 +0,0 @@ -../../../addresses.py \ No newline at end of file diff --git a/src/mock/pybitmessage/main.kv b/src/mock/pybitmessage/main.kv deleted file mode 100644 index 40adbe70..00000000 --- a/src/mock/pybitmessage/main.kv +++ /dev/null @@ -1,422 +0,0 @@ -#:import IconLeftWidget kivymd.uix.list.IconLeftWidget -#:import images_path kivymd.images_path -#:import Spinner kivy.uix.spinner.Spinner -#:import Factory kivy.factory.Factory - -#:import MDCheckbox kivymd.uix.selectioncontrol.MDCheckbox -#:import MDList kivymd.uix.list.MDList -#:import OneLineListItem kivymd.uix.list.OneLineListItem -#:import MDTextField kivymd.uix.textfield.MDTextField -#:import get_color_from_hex kivy.utils.get_color_from_hex -#:import MDCard kivymd.uix.card.MDCard -#:import colors kivymd.color_definitions.colors -#:import MDTabs kivymd.uix.tab.MDTabs -#:import MDFloatingActionButton kivymd.uix.button.MDFloatingActionButton -#:import Factory kivy.factory.Factory -#:import MDScrollViewRefreshLayout kivymd.uix.refreshlayout.MDScrollViewRefreshLayout -#:import MDSpinner kivymd.uix.spinner.MDSpinner -#:import MDTabsBase kivymd.uix.tab.MDTabsBase -##:import ZBarSymbol pyzbar.pyzbar.ZBarSymbol - - -#:set color_button (0.784, 0.443, 0.216, 1) # brown -#:set color_button_pressed (0.659, 0.522, 0.431, 1) # darker brown -#:set color_font (0.957, 0.890, 0.843, 1) # off white - -: - font_size: '12.5sp' - #background_color: color_button if self.state == 'down' else color_button_pressed - #background_down: 'atlas://data/images/defaulttheme/button' - background_normal: 'atlas://data/images/defaulttheme/textinput_active' - background_color: app.theme_cls.primary_color - # text_autoupdate: True - color: color_font - - - #on_press: root.active = not root.active - on_press: root.currentlyActive() - active_color: root.theme_cls.primary_color if root.active else root.theme_cls.text_color - - IconLeftWidget: - icon: root.icon - theme_text_color: "Custom" - text_color: root.active_color - - BadgeText: - id: badge_txt - text: f"{root.badge_text}" - theme_text_color: "Custom" - #text_color: root.active_color - halign: 'right' - -: - canvas: - Color: - rgba: self.theme_cls.divider_color - Line: - points: root.x, root.y + dp(8), root.x + self.width, root.y + dp(8) - - - - BoxLayout: - orientation: 'vertical' - - FloatLayout: - size_hint_y: None - height: "200dp" - - MDIconButton: - id: reset_image - icon: "refresh" - x: root.parent.x + dp(10) - pos_hint: {"top": 1, 'left': 1} - color: [1,0,0,1] - on_release: app.rest_default_avatar_img() - theme_text_color: "Custom" - text_color: app.theme_cls.primary_color - # opacity: 1 if app.current_address_label() else 0 - # disabled: False if app.current_address_label() else True - opacity: 0 - disabled: True - - MDIconButton: - id: file_manager - icon: "file-image" - x: root.parent.x + dp(10) - pos_hint: {"top": 1, 'right': 1} - color: [1,0,0,1] - on_release: app.file_manager_open() - # md_bg_color: app.theme_cls.primary_color - theme_text_color: "Custom" - text_color: app.theme_cls.primary_color - opacity: 1 if app.current_address_label() else 0 - disabled: False if app.current_address_label() else True - - BoxLayout: - id: top_box - size_hint_y: None - height: "200dp" - #padding: "10dp" - x: root.parent.x - pos_hint: {"top": 1} - Image: - #source: './images/drawer_logo1.png' - source: app.get_default_logo(self) - - ScrollView: - id: scroll_y - pos_hint: {"top": 1} - - GridLayout: - id: box_item - cols: 1 - size_hint_y: None - height: self.minimum_height - NavigationDrawerDivider: - NavigationDrawerSubheader: - text: app.tr._('Accounts') - #text: app.tr._('Hello World') - height:"35dp" - NavigationItem: - # size: 50,50 - height: dp(48) - CustomSpinner: - id: btn - pos_hint:{"x":0,"y":0} - option_cls: Factory.get("MySpinnerOption") - font_size: '12.5sp' - text: app.getDefaultAccData(self) - color: color_font - background_normal: '' - background_color: app.theme_cls.primary_color - on_text:app.getCurrentAccountData(self.text) - ArrowImg: - NavigationItem: - id: inbox_cnt - text: app.tr._('Inbox') - #text: app.tr._('Hello World') - icon: 'email-open' - divider: None - on_release: app.root.ids.scr_mngr.current = 'inbox' - on_release: root.parent.set_state() - on_press: app.load_screen(self) - NavigationItem: - id: send_cnt - text: app.tr._('Sent') - icon: 'send' - divider: None - on_release: app.root.ids.scr_mngr.current = 'sent' - on_release: root.parent.set_state() - NavigationItem: - id: draft_cnt - text: app.tr._('Draft') - icon: 'message-draw' - divider: None - on_release: app.root.ids.scr_mngr.current = 'draft' - on_release: root.parent.set_state() - NavigationItem: - id: trash_cnt - text: app.tr._('Trash') - icon: 'delete' - divider: None - on_release: app.root.ids.scr_mngr.current = 'trash' - on_press: root.parent.set_state() - on_press: app.load_screen(self) - NavigationItem: - id: allmail_cnt - text: app.tr._('All Mails') - icon: 'mailbox' - divider: None - on_release: app.root.ids.scr_mngr.current = 'allmails' - on_release: root.parent.set_state() - on_press: app.load_screen(self) - # NavigationItem: - # id: chat_rm - # text: app.tr._('Chat Room') - # icon: 'wechat' - # divider: None - # on_release: app.root.ids.scr_mngr.current = 'chlist' - # on_release: root.parent.set_state() - NavigationDrawerDivider: - NavigationDrawerSubheader: - text: app.tr._("All labels") - NavigationItem: - text: app.tr._('Address Book') - icon: 'book-multiple' - divider: None - on_release: app.root.ids.scr_mngr.current = 'addressbook' - on_release: root.parent.set_state() - NavigationItem: - text: app.tr._('Settings') - icon: 'application-settings' - divider: None - on_release: app.root.ids.scr_mngr.current = 'set' - on_release: root.parent.set_state() - NavigationItem: - text: app.tr._('Purchase') - icon: 'shopping' - divider: None - on_release: app.root.ids.scr_mngr.current = 'payment' - on_release: root.parent.set_state() - # NavigationItem: - # text: app.tr._('Credits') - # icon: 'wallet' - # divider: None - # on_release: app.root.ids.scr_mngr.current = 'credits' - # on_release: root.parent.set_state() - NavigationItem: - text: app.tr._('New address') - icon: 'account-plus' - divider: None - on_release: app.root.ids.scr_mngr.current = 'login' - on_release: root.parent.set_state() - on_press: app.reset_login_screen() - NavigationItem: - text: app.tr._('Network status') - icon: 'server-network' - divider: None - on_release: app.root.ids.scr_mngr.current = 'networkstat' - on_release: root.parent.set_state() - NavigationItem: - text: app.tr._('My addresses') - icon: 'account-multiple' - divider: None - on_release: app.root.ids.scr_mngr.current = 'myaddress' - on_release: root.parent.set_state() - -MDNavigationLayout: - id: nav_layout - - MDToolbar: - id: toolbar - title: app.current_address_label() - opacity: 1 if app.addressexist() else 0 - disabled: False if app.addressexist() else True - pos_hint: {"top": 1} - md_bg_color: app.theme_cls.primary_color - elevation: 10 - left_action_items: [['menu', lambda x: nav_drawer.set_state("toggle")]] - right_action_items: [['account-plus', lambda x: app.addingtoaddressbook()]] - - ScreenManager: - id: scr_mngr - size_hint_y: None - height: root.height - toolbar.height - Inbox: - id:sc1 -# # Page: -# # id:sc2 - Create: - id:sc3 - Sent: - id:sc4 - Trash: - id:sc5 - Login: - id:sc6 - Random: - id:sc7 - # Spam: - # id:sc8 - Setting: - id:sc9 - MyAddress: - id:sc10 - AddressBook: - id:sc11 - Payment: - id:sc12 - NetworkStat: - id:sc13 - MailDetail: - id:sc14 - ShowQRCode: - id:sc15 - Draft: - id:sc16 - Allmails: - id:sc17 - # Credits: - # id:sc18 - # Starred: - # id:sc19 - # Archieve: - # id:sc20 - # ChatRoom: - # id:sc21 - # ChatList: - # id:sc22 - ScanScreen: - id:sc23 - - MDNavigationDrawer: - id: nav_drawer - - ContentNavigationDrawer: - id: content_drawer - - -: - source: app.image_path +('/down-arrow.png' if self.parent.is_open == True else '/right-arrow.png') - size: 15, 15 - x: self.parent.x + self.parent.width - self.width - 5 - y: self.parent.y + self.parent.height/2 - self.height + 5 - - -: - # id: search_bar - size_hint_y: None - height: self.minimum_height - - MDIconButton: - icon: 'magnify' - - MDTextField: - id: search_field - hint_text: 'Search' - on_text: app.searchQuery(self) - canvas.before: - Color: - rgba: (0,0,0,1) - - -: - id: spinner - size_hint: None, None - size: dp(46), dp(46) - pos_hint: {'center_x': 0.5, 'center_y': 0.5} - active: False - -: - size_hint_y: None - height: dp(56) - spacing: '10dp' - pos_hint: {'center_x':0.45, 'center_y': .1} - - Widget: - - MDFloatingActionButton: - icon: 'plus' - opposite_colors: True - elevation_normal: 8 - md_bg_color: [0.941, 0, 0,1] - on_press: app.root.ids.scr_mngr.current = 'create' - on_press: app.clear_composer() - - -: - size_hint_y: None - height: content.height - - MDCardSwipeLayerBox: - padding: "8dp" - - MDIconButton: - id: delete_msg - icon: "trash-can" - pos_hint: {"center_y": .5} - md_bg_color: (1, 0, 0, 1) - disabled: True - - MDCardSwipeFrontBox: - - TwoLineAvatarIconListItem: - id: content - text: root.text - _no_ripple_effect: True - - AvatarSampleWidget: - id: avater_img - # source: './images/kivy/avatar.png' - source: None - - TimeTagRightSampleWidget: - id: time_tag - text: '' - font_size: "11sp" - font_style: "Caption" - size: [120, 140] if app.app_platform == "android" else [64, 80] - - -: - size_hint_y: None - height: content.height - - MDCardSwipeLayerBox: - padding: "8dp" - - MDIconButton: - id: delete_msg - icon: "trash-can" - pos_hint: {"center_y": .5} - md_bg_color: (1, 0, 0, 1) - disabled: True - - MDCardSwipeFrontBox: - - TwoLineAvatarIconListItem: - id: content - text: root.text - _no_ripple_effect: True - - AvatarSampleWidget: - id: avater_img - # source: './images/kivy/avatar.png' - source: None - - TimeTagRightSampleWidget: - id: time_tag - text: 'time' - font_size: "11sp" - font_style: "Caption" - size: [120, 140] if app.app_platform == "android" else [64, 80] - MDChip: - id: chip_tag - size_hint: (0.16 if app.app_platform == "android" else 0.08, None) - text: 'test' - icon: "" - pos_hint: {"center_x": 0.91 if app.app_platform == "android" else 0.94, "center_y": 0.3} - # height: dp(18) - height: '18dp' - text_color: (1,1,1,1) - radius: [8] diff --git a/src/mock/pybitmessage/shutdown.py b/src/mock/pybitmessage/shutdown.py index c9118017..16ed6cb1 100644 --- a/src/mock/pybitmessage/shutdown.py +++ b/src/mock/pybitmessage/shutdown.py @@ -7,14 +7,7 @@ """shutdown function""" -import queue as Queue -import threading -import time - from pybitmessage import state -from pybitmessage.network.threads import StoppableThread -from pybitmessage.queues import ( - addressGeneratorQueue, objectProcessorQueue, UISignalQueue, workerQueue) def doCleanShutdown(): diff --git a/src/mock/screens_data1.json b/src/mock/screens_data1.json new file mode 100644 index 00000000..e9bba36e --- /dev/null +++ b/src/mock/screens_data1.json @@ -0,0 +1,78 @@ +{ + "Inbox": { + "kv_string": "inbox", + "name_screen": "inbox", + "Import": "from baseclass.inbox import Inbox", + }, + "Sent": { + "kv_string": "sent", + "name_screen": "sent", + "Import": "from baseclass.sent import Sent", + }, + "Draft": { + "kv_string": "draft", + "name_screen": "draft", + "Import": "from baseclass.draft import Draft", + }, + "Trash": { + "kv_string": "trash", + "name_screen": "trash", + "Import": "from baseclass.trash import Trash", + }, + "All Mails": { + "kv_string": "allmails", + "name_screen": "allmails", + "Import": "from baseclass.allmail import Allmails", + }, + "Address Book": { + "kv_string": "addressbook", + "name_screen": "addressbook", + "Import": "from baseclass.addressbook import AddressBook", + }, + "Settings": { + "kv_string": "settings", + "name_screen": "set", + "Import": "from baseclass.settings import Setting", + }, + "Payment": { + "kv_string": "payment", + "name_screen": "payment", + "Import": "from baseclass.payment import Payment", + }, + "Network status": { + "kv_string": "network", + "name_screen": "networkstat", + "Import": "from baseclass.network import NetworkStat", + }, + "My addresses": { + "kv_string": "myaddress", + "name_screen": "myaddress", + "Import": "from baseclass.myaddress import MyAddress", + }, + "MailDetail": { + "kv_string": "maildetail", + "name_screen": "mailDetail", + "Import": "from baseclass.maildetail import MailDetail", + }, + "Create": { + "kv_string": "msg_composer", + "name_screen": "create", + "Import": "from baseclass.msg_composer import Create", + }, + "Login": { + "kv_string": "login", + "Import": "from baseclass.login import *", + }, + "Scanner": { + "kv_string": "scan_screen", + "Import": "from baseclass.scan_screen import ScanScreen", + }, + "Popups": { + "kv_string": "popup", + "Import": "from baseclass.popup import *", + }, + "Qrcode": { + "kv_string": "qrcode", + "Import": "from baseclass.qrcode import ShowQRCode", + }, +}