From c17567a8c238649911b29c5f6983564ad15c831c Mon Sep 17 00:00:00 2001 From: Toomas Vahter Date: Fri, 31 Jan 2025 13:19:58 +0200 Subject: [PATCH] Newly created channels did not pop up at the top in the demo app --- DemoAppSwiftUI/DemoAppSwiftUIApp.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DemoAppSwiftUI/DemoAppSwiftUIApp.swift b/DemoAppSwiftUI/DemoAppSwiftUIApp.swift index 0700e285..5f5eccdf 100644 --- a/DemoAppSwiftUI/DemoAppSwiftUIApp.swift +++ b/DemoAppSwiftUI/DemoAppSwiftUIApp.swift @@ -152,8 +152,7 @@ extension AppState { filter: .containMembers(userIds: [currentUserId]), sort: [ Sorting(key: .pinnedAt), - Sorting(key: .lastMessageAt), - Sorting(key: .createdAt) + Sorting(key: .default) ] ) case .archived: