mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-21 14:09:06 -04:00
Added message details dialog
This commit is contained in:
parent
66065bc3ef
commit
12b7250a37
3 changed files with 100 additions and 5 deletions
|
@ -1978,7 +1978,7 @@ class SidebandApp(MDApp):
|
|||
save_item,
|
||||
],
|
||||
buttons=[ cancel_button ],
|
||||
width_offset=dp(12),
|
||||
width_offset=dp(32),
|
||||
)
|
||||
cancel_button.bind(on_release=self.rec_dialog.dismiss)
|
||||
self.rec_dialog.recording = False
|
||||
|
@ -2001,7 +2001,6 @@ class SidebandApp(MDApp):
|
|||
|
||||
self.rec_dialog.open()
|
||||
self.rec_dialog_is_open = True
|
||||
self.rec_dialog.update_width()
|
||||
|
||||
def message_attach_action(self, attach_type=None, nodialog=False):
|
||||
file_attach_types = ["lbimg", "defimg", "hqimg", "file"]
|
||||
|
@ -2071,13 +2070,12 @@ class SidebandApp(MDApp):
|
|||
text="Select the type of attachment you want to send with this message\n",
|
||||
items=ad_items,
|
||||
buttons=[ cancel_button ],
|
||||
width_offset=dp(12),
|
||||
width_offset=dp(32),
|
||||
)
|
||||
|
||||
cancel_button.bind(on_release=self.attach_dialog.dismiss)
|
||||
|
||||
self.attach_dialog.open()
|
||||
self.attach_dialog.update_width()
|
||||
|
||||
else:
|
||||
self.attach_path = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue