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', 'widget_data',
jsonEncode(WidgetData( jsonEncode(WidgetData(
url: formatApiUrl(state.authState.url), url: formatApiUrl(state.authState.url),
companyId: state.account.defaultCompanyId,
companies: { companies: {
for (var userCompany for (var userCompany
in state.userCompanyStates.where((state) => state.company.hasName)) in state.userCompanyStates.where((state) => state.company.hasName))

View File

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