Compare commits

...

2 Commits
0.0.3 ... 0.0.4

Author SHA1 Message Date
Mark Qvist
35b0529f6d Updated Nomad Network to Reticulum 0.2.1 elliptic curve cryptography 2021-05-20 22:29:02 +02:00
Mark Qvist
56f4f20bb2 Fixed conversation list navigation when list is empty 2021-05-19 09:26:12 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ class NomadNetworkApp:
RNS.Identity.remember( RNS.Identity.remember(
packet_hash=None, packet_hash=None,
destination_hash=self.lxmf_destination.hash, destination_hash=self.lxmf_destination.hash,
public_key=self.identity.pub_bytes, public_key=self.identity.get_public_key(),
app_data=None app_data=None
) )

View File

@@ -1 +1 @@
__version__ = "0.0.3" __version__ = "0.0.4"

View File

@@ -31,7 +31,7 @@ class ConversationsArea(urwid.LineBox):
self.delegate.new_conversation() self.delegate.new_conversation()
elif key == "tab": elif key == "tab":
self.delegate.app.ui.main_display.frame.set_focus("header") self.delegate.app.ui.main_display.frame.set_focus("header")
elif key == "up" and self.delegate.ilb.first_item_is_selected(): elif key == "up" and (self.delegate.ilb.first_item_is_selected() or self.delegate.ilb.body_is_empty()):
self.delegate.app.ui.main_display.frame.set_focus("header") self.delegate.app.ui.main_display.frame.set_focus("header")
else: else:
return super(ConversationsArea, self).keypress(size, key) return super(ConversationsArea, self).keypress(size, key)