mirror of
https://github.com/markqvist/Sideband.git
synced 2025-11-29 19:56:39 -05:00
Various UI improvements
This commit is contained in:
parent
2eec1d0a50
commit
9a11bfded2
4 changed files with 20 additions and 20 deletions
|
|
@ -1787,7 +1787,7 @@ class SidebandApp(MDApp):
|
|||
def conversation_index_action(self, index):
|
||||
if self.conversations_view != None and self.conversations_view.list != None:
|
||||
i = index-1
|
||||
c = self.conversations_view.list.children
|
||||
c = self.conversations_view.list.children[0].children
|
||||
if len(c) > i:
|
||||
item = c[(len(c)-1)-i]
|
||||
self.conversation_action(item)
|
||||
|
|
@ -5466,6 +5466,10 @@ class SidebandApp(MDApp):
|
|||
perm_ok = True
|
||||
path = self.sideband.config["command_plugins_path"]
|
||||
|
||||
if not os.path.isdir(path):
|
||||
if not RNS.vendor.platformutils.is_android(): path = os.path.expanduser("~")
|
||||
else: path = primary_external_storage_path()
|
||||
|
||||
if perm_ok and path != None:
|
||||
try:
|
||||
self.file_manager = MDFileManager(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue