Fix some compiler warnings

Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
2025-04-12 18:08:58 -04:00
committed by Daniel D’Aquino
parent 3511b1ee91
commit 77e3924809
15 changed files with 33 additions and 70 deletions

View File

@@ -18,7 +18,7 @@ struct NotificationExtensionState: HeadlessDamusState {
let lnurls: LNUrls
init?() {
guard let ndb = try? Ndb(owns_db_file: false) else { return nil }
guard let ndb = Ndb(owns_db_file: false) else { return nil }
self.ndb = ndb
guard let keypair = get_saved_keypair() else { return nil }