Park elevation properties for now

This commit is contained in:
Mark Qvist 2022-10-03 00:56:39 +02:00
parent 8aeb643b81
commit 25878a7405
4 changed files with 13 additions and 13 deletions

View File

@ -434,7 +434,7 @@ class SidebandApp(MDApp):
on_release=self.messages_view.close_send_error_dialog on_release=self.messages_view.close_send_error_dialog
) )
], ],
elevation=0, # elevation=0,
) )
self.messages_view.send_error_dialog.open() self.messages_view.send_error_dialog.open()
@ -455,7 +455,7 @@ class SidebandApp(MDApp):
on_release=self.messages_view.close_send_error_dialog on_release=self.messages_view.close_send_error_dialog
) )
], ],
elevation=0, # elevation=0,
) )
self.messages_view.send_error_dialog.open() self.messages_view.send_error_dialog.open()
@ -541,7 +541,7 @@ class SidebandApp(MDApp):
dialog = MDDialog( dialog = MDDialog(
text=connectivity_status, text=connectivity_status,
buttons=[ yes_button ], buttons=[ yes_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()
@ -558,7 +558,7 @@ class SidebandApp(MDApp):
dialog = MDDialog( dialog = MDDialog(
text="No active LXMF propagation nodes were found. Cannot fetch messages. Wait for a Propagation Node to announce on the network, or manually specify one in the settings.", text="No active LXMF propagation nodes were found. Cannot fetch messages. Wait for a Propagation Node to announce on the network, or manually specify one in the settings.",
buttons=[ yes_button ], buttons=[ yes_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()
@ -581,7 +581,7 @@ class SidebandApp(MDApp):
type="custom", type="custom",
content_cls=dialog_content, content_cls=dialog_content,
buttons=[ close_button ], buttons=[ close_button ],
elevation=0, # elevation=0,
) )
dialog.d_content = dialog_content dialog.d_content = dialog_content
def dl_close(s): def dl_close(s):
@ -612,7 +612,7 @@ class SidebandApp(MDApp):
type="custom", type="custom",
content_cls=dialog_content, content_cls=dialog_content,
buttons=[ yes_button, no_button ], buttons=[ yes_button, no_button ],
elevation=0, # elevation=0,
) )
dialog.d_content = dialog_content dialog.d_content = dialog_content
def dl_yes(s): def dl_yes(s):
@ -989,7 +989,7 @@ class SidebandApp(MDApp):
dialog = MDDialog( dialog = MDDialog(
text="Your Identity key, in base32 format is as follows:\n\n[b]"+str(base64.b32encode(self.sideband.identity.get_private_key()).decode("utf-8"))+"[/b]", text="Your Identity key, in base32 format is as follows:\n\n[b]"+str(base64.b32encode(self.sideband.identity.get_private_key()).decode("utf-8"))+"[/b]",
buttons=[ yes_button ], buttons=[ yes_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()

View File

@ -73,7 +73,7 @@ class Announces():
dialog = MDDialog( dialog = MDDialog(
text=ad_text, text=ad_text,
buttons=[ yes_button ], buttons=[ yes_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()
@ -112,7 +112,7 @@ class Announces():
dialog = MDDialog( dialog = MDDialog(
text="Delete announce?", text="Delete announce?",
buttons=[ yes_button, no_button ], buttons=[ yes_button, no_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()

View File

@ -100,7 +100,7 @@ class Conversations():
type="custom", type="custom",
content_cls=dialog_content, content_cls=dialog_content,
buttons=[ yes_button, no_button ], buttons=[ yes_button, no_button ],
elevation=0, # elevation=0,
) )
dialog.d_content = dialog_content dialog.d_content = dialog_content
def dl_yes(s): def dl_yes(s):
@ -146,7 +146,7 @@ class Conversations():
dialog = MDDialog( dialog = MDDialog(
text="Clear all messages in conversation?", text="Clear all messages in conversation?",
buttons=[ yes_button, no_button ], buttons=[ yes_button, no_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()
@ -171,7 +171,7 @@ class Conversations():
dialog = MDDialog( dialog = MDDialog(
text="Delete conversation?", text="Delete conversation?",
buttons=[ yes_button, no_button ], buttons=[ yes_button, no_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()

View File

@ -154,7 +154,7 @@ class Messages():
dialog = MDDialog( dialog = MDDialog(
text="Delete message?", text="Delete message?",
buttons=[ yes_button, no_button ], buttons=[ yes_button, no_button ],
elevation=0, # elevation=0,
) )
def dl_yes(s): def dl_yes(s):
dialog.dismiss() dialog.dismiss()