Browse Source

Update android-specific-use-cases.md

Guy Carmeli 6 years ago
parent
commit
5179e99eea
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      docs/android-specific-use-cases.md

+ 1
- 1
docs/android-specific-use-cases.md View File

@@ -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