initial refactor in preparation for routing

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-05-27 12:22:40 -07:00
parent df0377cb89
commit 31b2b5c950
19 changed files with 332 additions and 587 deletions

7
src/route.rs Normal file
View File

@@ -0,0 +1,7 @@
use nostrdb::NoteKey;
/// App routing. These describe different places you can go inside Notedeck.
pub enum Route {
ManageAccount,
Thread(NoteKey),
}