Compare commits

..

3 Commits
0.0.3 ... 0.0.5

Author SHA1 Message Date
Mark Qvist
d69267fe0c Updated dependency versions 2021-05-20 22:59:08 +02:00
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
4 changed files with 4 additions and 4 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.5"

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)

View File

@@ -23,6 +23,6 @@ setuptools.setup(
entry_points= { entry_points= {
'console_scripts': ['nomadnet=nomadnet.nomadnet:main'] 'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
}, },
install_requires=['rns>=0.2.0', 'lxmf>=0.0.3', 'urwid>=2.1.2'], install_requires=['rns>=0.2.1', 'lxmf>=0.0.6', 'urwid>=2.1.2'],
python_requires='>=3.5', python_requires='>=3.5',
) )