Skip to content

Commit f1f1315

Browse files
authored
Add update block to whitelist current (#51)
* fix: updateBlock after whitelisting * chore: update version
1 parent 30c588a commit f1f1315

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-native-device-activity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-device-activity",
3-
"version": "0.4.21",
3+
"version": "0.4.22",
44
"description": "Provides access to Apples DeviceActivity API",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

packages/react-native-device-activity/targets/ShieldAction/ShieldActionExtension.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ func handleAction(
134134
}
135135

136136
saveCurrentWhitelist(whitelist: selection)
137+
updateBlock(triggeredBy: "shieldAction")
137138
}
138139
}
139140

0 commit comments

Comments
 (0)