mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 20:48:50 +00:00
fix: CTRL+K (jump to) modal is case sensitive
make the ChannelPicker/StatusSearchListPopup search case insensitive Fixes #8460
This commit is contained in:
parent
f7704c719a
commit
c32dfa48be
@ -1211,7 +1211,8 @@ Item {
|
||||
property var modelData
|
||||
property bool isCurrentItem: true
|
||||
function filterAccepts(searchText) {
|
||||
return title.includes(searchText)
|
||||
const lowerCaseSearchText = searchText.toLowerCase()
|
||||
return title.toLowerCase().includes(lowerCaseSearchText) || label.toLowerCase().includes(lowerCaseSearchText)
|
||||
}
|
||||
|
||||
title: modelData ? modelData.name : ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user