s/IntegrationManager/Platform/
Because we call bots integrations and I'll get confused
This commit is contained in:
16
src/vector/platform/BasePlatform.js
Normal file
16
src/vector/platform/BasePlatform.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// @flow
|
||||
|
||||
export default class BasePlatform {
|
||||
constructor() {
|
||||
this.notificationCount = 0;
|
||||
this.errorDidOccur = false;
|
||||
}
|
||||
|
||||
setNotificationCount(count: number) {
|
||||
this.notificationCount = count;
|
||||
}
|
||||
|
||||
setErrorStatus(errorDidOccur: boolean) {
|
||||
this.errorDidOccur = errorDidOccur;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user