${isDefaultPattern
? translateText("territory_patterns.pattern.default")
- : this.translateCosmetic(
+ : translateCosmetic(
"territory_patterns.pattern",
this.pattern!.name,
)}
@@ -111,7 +104,7 @@ export class PatternButton extends LitElement {
? "opacity-50"
: ""}"
>
- ${this.translateCosmetic(
+ ${translateCosmetic(
"territory_patterns.color_palette",
this.colorPalette!.name,
)}
@@ -139,18 +132,10 @@ export class PatternButton extends LitElement {
${this.requiresPurchase && this.pattern?.product
? html`
-
-
-
+
this.handlePurchase()}
+ >
`
: null}
diff --git a/src/client/components/PlayPage.ts b/src/client/components/PlayPage.ts
index 02c77e93d..9417b5fd2 100644
--- a/src/client/components/PlayPage.ts
+++ b/src/client/components/PlayPage.ts
@@ -121,6 +121,11 @@ export class PlayPage extends LitElement {
adaptive-size
class="shrink-0 lg:hidden"
>
+