damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit b8ec3493dc8450a1c34159a7964be9a0543d8eb5
parent e2993898669606a3876ef47f81b58e8358ab9e47
Author: Terry Yiu <git@tyiu.xyz>
Date:   Mon, 10 Jul 2023 22:57:35 -0400

Fix freezing bug when tapping Developer settings menu

Changelog-Fixed: Fix freezing bug when tapping Developer settings menu
Signed-off-by: Terry Yiu <git@tyiu.xyz>
Reviewed-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Util/Router.swift | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/damus/Util/Router.swift b/damus/Util/Router.swift @@ -154,6 +154,8 @@ enum Route: Hashable { return true case (.SearchSettings(_), .SearchSettings(_)): return true + case (.DeveloperSettings(_), .DeveloperSettings(_)): + return true case (.Thread(let lhs_threadModel), .Thread(thread: let rhs_threadModel)): return lhs_threadModel.event.id == rhs_threadModel.event.id case (.Reposts(let lhs_reposts), .Reposts(let rhs_reposts)):