commit f2e484e812eea4d8e8b373d23565bfb7fda666c7
parent 52c374bc087128364233bcd532331551ab78c0bc
Author: William Casarin <jb55@jb55.com>
Date: Fri, 25 Mar 2022 16:09:43 -0700
silence, warning
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lightninglink/Views/ContentView.swift b/lightninglink/Views/ContentView.swift
@@ -209,7 +209,7 @@ struct ContentView: View {
}
}
.onReceive(NotificationCenter.default.publisher(for: .sentPayment)) { payment in
- last_pay = payment.object as! Pay
+ last_pay = payment.object as? Pay
self.active_sheet = nil
refresh_funds()
}