Skip to content

Commit a4f1f57

Browse files
authored
docs: typo fix in android-broadcast-receiver-page.js (#187)
* Update android-broadcast-receiver-page.js typo fix * Update android-broadcast-receiver-page.js * Update android-broadcast-receiver-ts-page.ts
1 parent 8f6a945 commit a4f1f57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/ns-framework-modules-category/application/android-broadcast-receiver/android-broadcast-receiver-page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function onNavigatedTo(args) {
1919
vm.set("actionBarTitle", args.context.actionBarTitle);
2020
// >> broadcast-receiver
2121
if (platformModule.isAndroid) {
22-
// use tns-platform-dclarations to acces native APIs (e.g. ndroid.content.Intent)
22+
// use tns-platform-declarations to acces native APIs (e.g. android.content.Intent)
2323
const receiverCallback = (androidContext, intent) => {
2424
const level = intent.getIntExtra(android.os.BatteryManager.EXTRA_LEVEL, -1);
2525
const scale = intent.getIntExtra(android.os.BatteryManager.EXTRA_SCALE, -1);

app/ns-framework-modules-category/application/android-broadcast-receiver/android-broadcast-receiver-ts-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function onNavigatedTo(args: NavigatedData) {
3131

3232
// >> broadcast-receiver-ts
3333
if (isAndroid) {
34-
// use tns-platform-dclarations to access native APIs (e.g. android.content.Intent)
34+
// use tns-platform-declarations to access native APIs (e.g. android.content.Intent)
3535
let receiverCallback = (androidContext, intent) => {
3636
const level = intent.getIntExtra(android.os.BatteryManager.EXTRA_LEVEL, -1);
3737
const scale = intent.getIntExtra(android.os.BatteryManager.EXTRA_SCALE, -1);

0 commit comments

Comments
 (0)