浏览代码

[RN] Don't hardcode app name when sharing a room

master
Saúl Ibarra Corretgé 7 年前
父节点
当前提交
b8a629ead6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      react/features/share-room/middleware.js

+ 2
- 2
react/features/share-room/middleware.js 查看文件

@@ -1,6 +1,6 @@
1 1
 /* @flow */
2 2
 
3
-import { Share } from 'react-native';
3
+import { NativeModules, Share } from 'react-native';
4 4
 
5 5
 import { MiddlewareRegistry } from '../base/redux';
6 6
 
@@ -37,7 +37,7 @@ function _shareRoom(roomURL: string, dispatch: Function) {
37 37
     // review before i18n was introduces in react/. However, I reviewed it
38 38
     // afterwards. Translate the display/human-readable strings.
39 39
     const message = `Click the following link to join the meeting: ${roomURL}`;
40
-    const title = 'Jitsi Meet Conference';
40
+    const title = `${NativeModules.AppInfo.name} Conference`;
41 41
     const onFulfilled
42 42
         = (shared: boolean) => dispatch(endShareRoom(roomURL, shared));
43 43
 

正在加载...
取消
保存