Browse Source

Update android-specific-use-cases.md

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

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

@@ -316,9 +316,8 @@ Promise.resolve(Navigation.isAppLaunched())
316 316
   .then(appLaunched => {
317 317
     if (appLaunched) {
318 318
       startApp(); // App is launched -> show UI
319
-    } else {
320
-      new NativeEventsReceiver().appLaunched(startApp); // App hasn't been launched yet -> show the UI only when needed.
321 319
     }
320
+    new NativeEventsReceiver().appLaunched(startApp); // App hasn't been launched yet -> show the UI only when needed.
322 321
   });
323 322
 
324 323
 function startApp() {