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')
1818const persistentStorage = usePermission (' persistent-storage' )
1919const push = usePermission (' push' )
2020const speaker = usePermission (' speaker' )
21+ const localFonts = usePermission (' local-fonts' )
2122
2223const code = computed (() => YAML .dump (reactive ({
2324 accelerometer ,
@@ -35,6 +36,7 @@ const code = computed(() => YAML.dump(reactive({
3536 persistentStorage ,
3637 push ,
3738 speaker ,
39+ localFonts ,
3840})))
3941 </script >
4042
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ type DescriptorNamePolyfill =
2121 'payment-handler' |
2222 'persistent-storage' |
2323 'push' |
24- 'speaker'
24+ 'speaker' |
25+ 'local-fonts'
2526
2627export type GeneralPermissionDescriptor =
2728 | PermissionDescriptor
You can’t perform that action at this time.
0 commit comments