Skip to content

Commit

Permalink
🐛 Fixed primary theme swatch active state
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Feb 25, 2020
1 parent a4014c3 commit 6962d22
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
/>
<i v-else class="material-icons">account_circle</i>
<span>
{{ fb.currentUser.displayName || "Name not found" }}
{{ fb.currentUser.displayName || $t("nothing_found") }}
</span>
</button>
<br />
<button class="icon">
<i class="material-icons">email</i>
<span>
{{ fb.currentUser.email || "Email not found" }}
{{ fb.currentUser.email || $t("nothing_found") }}
</span>
</button>
<br />
Expand Down Expand Up @@ -99,7 +99,7 @@
:color="theme.color"
:name="theme.name"
class="bg"
></swatch>
/>
</span>
</div>
</li>
Expand All @@ -110,7 +110,7 @@
<div class="colors">
<span
:key="entry.color"
@click.prevent="setActiveColor(entry.color, entry.vibrant)"
@click="setActiveColor(entry.color, entry.vibrant)"
v-for="entry in colors"
>
<swatch
Expand Down Expand Up @@ -138,8 +138,8 @@
</pw-toggle>
</span>
</li>
</ul>
<ul>
</ul>
<ul>
<li>
<span>
<pw-toggle
Expand Down Expand Up @@ -346,12 +346,13 @@ export default {
],
settings: {
SCROLL_INTO_ENABLED:
SCROLL_INTO_ENABLED:
typeof this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED !==
"undefined"
? this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED
: true,
THEME_CLASS: "",
THEME_COLOR: "",
THEME_TAB_COLOR: "",
THEME_COLOR_VIBRANT: true,
Expand All @@ -364,7 +365,7 @@ export default {
this.$store.state.postwoman.settings.PROXY_URL ||
"https://postwoman.apollotv.xyz/",
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
EXTENSIONS_ENABLED:
typeof this.$store.state.postwoman.settings.EXTENSIONS_ENABLED !==
"undefined"
Expand Down

0 comments on commit 6962d22

Please sign in to comment.