Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
post-lint bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleNik committed Jul 6, 2022
1 parent 07f7f15 commit 6ffb989
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 47 deletions.
14 changes: 2 additions & 12 deletions NUXT/components/playlistCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,8 @@
}"
>
<div
class="d-flex flex-column justify-center align-center"
style="
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 100%;
background: linear-gradient(
var(--v-background-base) -1000%,
#00000000 1000%
);
"
class="d-flex flex-column justify-center align-center background-opaque"
style="position: absolute; top: 0; right: 0; width: 50%; height: 100%"
>
<div>420</div>
<v-icon>mdi-playlist-play</v-icon>
Expand Down
8 changes: 8 additions & 0 deletions NUXT/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ export default {
margin: 0 !important;
}
.container-max-height {
min-height: calc(
100vh - 8rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)
) !important;
}
.background-opaque {
background: linear-gradient(var(--v-background-base) -1000%, #00000000 1000%);
}
.border-primary {
border: 2px solid var(--v-primary-base) !important;
}
Expand Down
21 changes: 7 additions & 14 deletions NUXT/pages/mods/theme.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
<template>
<client-only>
<!-- !IMPORTANT: don't let autoformatter format this style to multiline or else it breaks ¯\_(ツ)_/¯ -->
<div
class="d-flex flex-column justify-end"
style="
min-height: calc(
100vh - 8rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)
) !important;
"
>
<div class="container-max-height d-flex flex-column justify-end">
<!-- ----Background Colors---- -->
<v-radio-group v-model="$vuetify.theme.currentTheme.background">
<div
Expand Down Expand Up @@ -191,12 +184,6 @@ export default {
lang: {},
};
},
mounted() {
this.lang = this.$lang("mods").theme;
this.backgroundsLight[0].name = this.lang.normal;
this.backgroundsDark[0].name = this.lang.dark;
this.backgroundsDark[1].name = this.lang.black;
},
watch: {
// also triggers background and primary watcher, unless primary colors match
"$vuetify.theme.dark"(value) {
Expand Down Expand Up @@ -235,6 +222,12 @@ export default {
}
},
},
mounted() {
this.lang = this.$lang("mods").theme;
this.backgroundsLight[0].name = this.lang.normal;
this.backgroundsDark[0].name = this.lang.dark;
this.backgroundsDark[1].name = this.lang.black;
},
beforeMount() {
this.adapt();
},
Expand Down
15 changes: 4 additions & 11 deletions NUXT/pages/mods/tweaks.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<template>
<!-- !IMPORTANT: don't let autoformatter format this style to multiline or else it breaks ¯\_(ツ)_/¯ -->
<div
class="d-flex flex-column justify-end"
style="
min-height: calc(
100vh - 8rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)
) !important;
"
>
<div class="container-max-height d-flex flex-column justify-end">
<!-- TODO: outer radius -->
<!-- TODO: Dense Navbar -->
<!-- TODO: Disable Top Bar -->
Expand Down Expand Up @@ -174,9 +167,6 @@ export default {
lang: {},
};
},
mounted() {
this.lang = this.$lang("mods").tweaks;
},
computed: {
roundTweak: {
get() {
Expand All @@ -203,5 +193,8 @@ export default {
},
},
},
mounted() {
this.lang = this.$lang("mods").tweaks;
},
};
</script>
20 changes: 10 additions & 10 deletions ios/App/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ install! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCommunityHttp', :path => '..\..\node_modules\@capacitor-community\http'
pod 'CapacitorApp', :path => '..\..\node_modules\@capacitor\app'
pod 'CapacitorDevice', :path => '..\..\node_modules\@capacitor\device'
pod 'CapacitorFilesystem', :path => '..\..\node_modules\@capacitor\filesystem'
pod 'CapacitorHaptics', :path => '..\..\node_modules\@capacitor\haptics'
pod 'CapacitorShare', :path => '..\..\node_modules\@capacitor\share'
pod 'CapacitorSplashScreen', :path => '..\..\node_modules\@capacitor\splash-screen'
pod 'CapacitorStatusBar', :path => '..\..\node_modules\@capacitor\status-bar'
pod 'CapacitorToast', :path => '..\..\node_modules\@capacitor\toast'
pod 'HugotomaziCapacitorNavigationBar', :path => '..\..\node_modules\@hugotomazi\capacitor-navigation-bar'
pod 'CapacitorCommunityHttp', :path => '../../node_modules/@capacitor-community/http'
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
pod 'CapacitorFilesystem', :path => '../../node_modules/@capacitor/filesystem'
pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
pod 'CapacitorShare', :path => '../../node_modules/@capacitor/share'
pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
pod 'CapacitorToast', :path => '../../node_modules/@capacitor/toast'
pod 'HugotomaziCapacitorNavigationBar', :path => '../../node_modules/@hugotomazi/capacitor-navigation-bar'
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
end

Expand Down

0 comments on commit 6ffb989

Please sign in to comment.