Browse Source

Update android-specific-use-cases.md

Guy Carmeli 7 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
 ```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