浏览代码

Update android-specific-use-cases.md

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

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

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