From 7208af179e4e7c17ec4e55f9509cc580f6a01167 Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Wed, 11 May 2022 19:07:56 +0530 Subject: [PATCH] Detailpagetype for draft(mpybit) --- src/bitmessagekivy/mpybit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessagekivy/mpybit.py b/src/bitmessagekivy/mpybit.py index e3abeafa..aaec2cf4 100644 --- a/src/bitmessagekivy/mpybit.py +++ b/src/bitmessagekivy/mpybit.py @@ -815,7 +815,7 @@ class NavigateApp(MDApp): delete_btn] elif state.detailPageType == 'sent': dynamic_list = [delete_btn] - elif state.detailPageType == 'draft': + elif self.kivy_state_obj.detailPageType == 'draft': dynamic_list = [ ['pencil', lambda x: self.root.ids.sc14.write_msg(self)], delete_btn]