mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-11-01 07:53:26 +00:00
docs: note people-sheet filter is display-only
Filtering never mutates PeerListModel row order; clearing the query restores the full list with existing sticky ordering intact.
This commit is contained in:
parent
285e82b852
commit
4bf37340bd
@ -9,6 +9,9 @@
|
||||
import Foundation
|
||||
|
||||
/// Case-insensitive nickname / display-name match for the people sheet search field.
|
||||
///
|
||||
/// Filtering is display-only: callers never mutate `PeerListModel` row order.
|
||||
/// Clearing the query restores the full list with existing sticky ordering.
|
||||
enum PeopleNameFilter {
|
||||
/// Empty / whitespace-only queries match everything (no filter active).
|
||||
static func matches(_ displayName: String, query: String) -> Bool {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user