Commit 1d88d8a 1 parent 30cc4dd commit 1d88d8a Copy full SHA for 1d88d8a
File tree 1 file changed +11
-1
lines changed
desktop/renderer-app/src/stores
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ import { WhiteboardStore } from "./whiteboard-store";
36
36
import { RouteNameType , usePushHistory } from "../utils/routes" ;
37
37
import { useSafePromise } from "../utils/hooks/lifecycle" ;
38
38
import { ShareScreenStore } from "./share-screen-store" ;
39
- import { i18n } from "i18next" ;
39
+ import i18next , { i18n } from "i18next" ;
40
+ import { message } from "antd" ;
40
41
41
42
export type { User } from "./user-store" ;
42
43
@@ -186,6 +187,15 @@ export class ClassRoomStore {
186
187
} ,
187
188
) ;
188
189
190
+ reaction (
191
+ ( ) => this . isRecording ,
192
+ ( isRecording : boolean ) => {
193
+ if ( isRecording ) {
194
+ void message . success ( i18next . t ( "start-recording" ) ) ;
195
+ }
196
+ } ,
197
+ ) ;
198
+
189
199
this . rtm . once ( RTMessageType . REMOTE_LOGIN , ( ) => {
190
200
runInAction ( ( ) => {
191
201
this . isRemoteLogin = true ;
You can’t perform that action at this time.
0 commit comments