Skip to content

Commit 0c8275f

Browse files
author
Vasil Chimev
authored
refactor: unmark startActivity as deprecated (NativeScript#5405)
NativeScript#5307
1 parent f8dce08 commit 0c8275f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tns-core-modules/application/application.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,12 @@ export class AndroidApplication extends Observable {
370370
foregroundActivity: any /* android.app.Activity */;
371371

372372
/**
373-
* [Deprecated. Please use the respective event instead.] Please use foregroundActivity property.
373+
* Deprecated. Please use startActivity, foregroundActivity or context property.
374374
*/
375375
currentContext: any /* android.content.Context */;
376376

377377
/**
378-
* [Deprecated. Please use foregroundActivity or activity related events instead.] The main (start) Activity for the application.
378+
* The main (start) Activity for the application.
379379
*/
380380
startActivity: any /* android.app.Activity */;
381381

0 commit comments

Comments
 (0)