macOS widgets

This commit is contained in:
Hillel Coren 2023-06-21 18:41:32 +03:00
parent fe6f3abbd5
commit fec45409f4
2 changed files with 1 additions and 7 deletions

View File

@ -1409,6 +1409,7 @@ void _showAbout(BuildContext context) async {
'widget_data',
jsonEncode(WidgetData(
url: formatApiUrl(state.authState.url),
companyId: state.account.defaultCompanyId,
companies: {
for (var userCompany
in state.userCompanyStates.where((state) => state.company.hasName))

View File

@ -152,13 +152,6 @@
<string>Primary</string>
</dict>
</array>
<key>INIntentParameterRelationship</key>
<dict>
<key>INIntentParameterRelationshipParentName</key>
<string>company</string>
<key>INIntentParameterRelationshipPredicateName</key>
<string>HasAnyValue</string>
</dict>
<key>INIntentParameterSupportsDynamicEnumeration</key>
<true/>
<key>INIntentParameterTag</key>