瀏覽代碼

Update android-specific-use-cases.md

Guy Carmeli 7 年之前
父節點
當前提交
5179e99eea
No account linked to committer's email address
共有 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