浏览代码

Update android-specific-use-cases.md

Guy Carmeli 8 年前
父节点
当前提交
5179e99eea
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      docs/android-specific-use-cases.md

+ 1
- 1
docs/android-specific-use-cases.md 查看文件

312
 ```js
312
 ```js
313
 import {Navigation, NativeEventsReceiver} from 'react-native-navigation';
313
 import {Navigation, NativeEventsReceiver} from 'react-native-navigation';
314
 
314
 
315
-Promise.resolve(Navigation.isAppLaunched())
315
+Navigation.isAppLaunched()
316
   .then(appLaunched => {
316
   .then(appLaunched => {
317
     if (appLaunched) {
317
     if (appLaunched) {
318
       startApp(); // App is launched -> show UI
318
       startApp(); // App is launched -> show UI