standardize use of public keyword
This commit is contained in:
@@ -8,7 +8,6 @@ import StorageModel, {
|
||||
filePaths,
|
||||
} from "../../Model/Global/storageModel";
|
||||
|
||||
import ChatListModel from "../../Model/Chat/chatListModel";
|
||||
import ChatModel from "../../Model/Chat/chatModel";
|
||||
import CoreViewModel from "./coreViewModel";
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@ import ChatListViewModel from "../Chat/chatListViewModel";
|
||||
import { ChatPageTypes } from "../Chat/chatViewModel";
|
||||
|
||||
export default class NotificationViewModel {
|
||||
chatListViewModel: ChatListViewModel;
|
||||
|
||||
// data
|
||||
seenMessageIds = new Set<string>();
|
||||
messagesInMarquee: Notification[] = [];
|
||||
@@ -78,9 +76,7 @@ export default class NotificationViewModel {
|
||||
};
|
||||
|
||||
// init
|
||||
constructor(chatListViewModel: ChatListViewModel) {
|
||||
this.chatListViewModel = chatListViewModel;
|
||||
}
|
||||
constructor(public chatListViewModel: ChatListViewModel) {}
|
||||
|
||||
// util
|
||||
static createNotification(message: ChatMessage): Notification {
|
||||
|
||||
Reference in New Issue
Block a user