File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/core/usePermission Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const paymentHandler = usePermission('payment-handler')
18
18
const persistentStorage = usePermission (' persistent-storage' )
19
19
const push = usePermission (' push' )
20
20
const speaker = usePermission (' speaker' )
21
+ const localFonts = usePermission (' local-fonts' )
21
22
22
23
const code = computed (() => YAML .dump (reactive ({
23
24
accelerometer ,
@@ -35,6 +36,7 @@ const code = computed(() => YAML.dump(reactive({
35
36
persistentStorage ,
36
37
push ,
37
38
speaker ,
39
+ localFonts ,
38
40
})))
39
41
</script >
40
42
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ type DescriptorNamePolyfill =
21
21
'payment-handler' |
22
22
'persistent-storage' |
23
23
'push' |
24
- 'speaker'
24
+ 'speaker' |
25
+ 'local-fonts'
25
26
26
27
export type GeneralPermissionDescriptor =
27
28
| PermissionDescriptor
You can’t perform that action at this time.
0 commit comments