Rewrite the restricted iterators and reorder the forward references. [skip build]
This commit is contained in:
@@ -205,7 +205,8 @@ export function TitleBar({ mx, children }: TitleBarProps) {
|
||||
}
|
||||
|
||||
// Check if body contains any of the user's keywords
|
||||
for (const keyword of notificationData.keywordPatterns) {
|
||||
for (let i = 0; i < notificationData.keywordPatterns.length; i += 1) {
|
||||
const keyword = notificationData.keywordPatterns[i];
|
||||
if (body.includes(keyword.toLowerCase())) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user