macOS widgets
This commit is contained in:
parent
fe6f3abbd5
commit
fec45409f4
|
|
@ -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))
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue