rename all enums to plural

This commit is contained in:
marlon-erler
2026-04-08 14:02:12 +00:00
parent b0537ae3a4
commit ad513fd1bb
25 changed files with 132 additions and 132 deletions
@@ -1,7 +1,7 @@
import * as React from "bloatless-react";
import ChatModel, { ChatMessage } from "../../Model/Chat/chatModel";
import ChatListViewModel from "../Chat/chatListViewModel";
import { ChatPageType } from "../Chat/chatViewModel";
import { ChatPageTypes } from "../Chat/chatViewModel";
export default class NotificationViewModel {
chatListViewModel: ChatListViewModel;
@@ -25,7 +25,7 @@ export default class NotificationViewModel {
this.chatListViewModel.selectedChat.value.selectedPage.value;
if (
notification.chat == currentChat &&
currentPage == ChatPageType.Messages
currentPage == ChatPageTypes.Messages
)
return;
@@ -43,7 +43,7 @@ export default class NotificationViewModel {
(chat) => chat.chatModel.info.primaryChannel == notification.chat,
);
chat.open();
chat.selectedPage.value = ChatPageType.Messages;
chat.selectedPage.value = ChatPageTypes.Messages;
};
// loop