feat: 添加快捷动作功能,支持快速记录饮水量,更新相关配置和服务
This commit is contained in:
@@ -89,5 +89,53 @@
|
||||
<string>Light</string>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>UIApplicationShortcutItems</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>UIApplicationShortcutItemIconFile</key>
|
||||
<string>IconGlass</string>
|
||||
<key>UIApplicationShortcutItemTitle</key>
|
||||
<string>喝水</string>
|
||||
<key>UIApplicationShortcutItemSubtitle</key>
|
||||
<string>快速记录饮水</string>
|
||||
<key>UIApplicationShortcutItemType</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER).drink_water</string>
|
||||
<key>UIApplicationShortcutItemUserInfo</key>
|
||||
<dict>
|
||||
<key>amount</key>
|
||||
<integer>250</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>UIApplicationShortcutItemIconFile</key>
|
||||
<string>IconGlass</string>
|
||||
<key>UIApplicationShortcutItemTitle</key>
|
||||
<string>喝水 100ml</string>
|
||||
<key>UIApplicationShortcutItemSubtitle</key>
|
||||
<string>快速记录饮水</string>
|
||||
<key>UIApplicationShortcutItemType</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER).drink_water_100</string>
|
||||
<key>UIApplicationShortcutItemUserInfo</key>
|
||||
<dict>
|
||||
<key>amount</key>
|
||||
<integer>100</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>UIApplicationShortcutItemIconFile</key>
|
||||
<string>IconGlass</string>
|
||||
<key>UIApplicationShortcutItemTitle</key>
|
||||
<string>喝水 200ml</string>
|
||||
<key>UIApplicationShortcutItemSubtitle</key>
|
||||
<string>快速记录饮水</string>
|
||||
<key>UIApplicationShortcutItemType</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER).drink_water_200</string>
|
||||
<key>UIApplicationShortcutItemUserInfo</key>
|
||||
<dict>
|
||||
<key>amount</key>
|
||||
<integer>200</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user