koishi-plugin-minecraft-notifier 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.cjs +1 -1
  2. package/package.json +1 -1
package/lib/index.cjs CHANGED
@@ -478,7 +478,7 @@ function generateXaml(summary, version) {
478
478
  Title="${categoryTitle}"
479
479
  Margin="0,5,0,10"
480
480
  CanSwap="True"
481
- IsSwaped="${general.length > 0 || subcategories.length > 1 ? "False" : "True"}"
481
+ IsSwapped="${["new_features", "improvements", "balancing"].includes(category) ? "False" : "True"}"
482
482
  Style="{StaticResource Card}">
483
483
  <StackPanel Orientation="Vertical" Style="{StaticResource ContentStack}">
484
484
  ${contentXaml}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-minecraft-notifier",
3
3
  "description": "A Minecraft new version notification plugin, also featuring a PCL homepage.",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "main": "lib/index.cjs",
6
6
  "typings": "lib/index.d.ts",
7
7
  "type": "module",