0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2025-01-03 06:01:23 +00:00

ios fixes added, unused theme property removed, splash screen colors changed

This commit is contained in:
Nikita Krupin 2022-03-25 14:50:18 -04:00
parent bf884a4607
commit ffad872bca
10 changed files with 33 additions and 19 deletions

View file

@ -59,6 +59,7 @@ export default {
box-shadow: none !important; box-shadow: none !important;
height: 4rem !important; height: 4rem !important;
position: fixed; position: fixed;
/* bottom: env(safe-area-inset-bottom) !important; */
bottom: 0; bottom: 0;
padding: 0 !important; padding: 0 !important;
z-index: 99999; z-index: 99999;

View file

@ -2,7 +2,7 @@
<v-card <v-card
style="height: 4rem !important; display: flex; box-shadow: none !important" style="height: 4rem !important; display: flex; box-shadow: none !important"
color="accent" color="accent"
class="topNav rounded-0 pa-3" class="rounded-0 pa-3 topNav"
> >
<h3 v-show="!search" class="my-auto ml-4" v-text="page" /> <h3 v-show="!search" class="my-auto ml-4" v-text="page" />
@ -92,8 +92,9 @@ export default {
<style scoped> <style scoped>
.topNav { .topNav {
position: fixed; position: fixed;
width: 100%; /* top: env(safe-area-inset-top); */
top: 0; top: 0;
width: 100%;
z-index: 999; z-index: 999;
/*border-radius: 0 0 1em 1em !important;*/ /*border-radius: 0 0 1em 1em !important;*/
} }

View file

@ -171,6 +171,8 @@ export default {
} }
html, html,
body { body {
/* padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left) !important;
margin: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left) !important; */
background: black; background: black;
overflow: hidden; overflow: hidden;
} }

View file

@ -36,7 +36,8 @@ export default {
}, },
meta: [ meta: [
{ charset: "utf-8" }, { charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" }, // { name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "viewport", content: "width=device-width, initial-scale=1.0, viewport-fit=cover" },
{ name: "format-detection", content: "telephone=no" }, { name: "format-detection", content: "telephone=no" },
], ],
}, },

View file

@ -12,7 +12,7 @@
<script> <script>
export default { export default {
layout: "empty", layout: "empty",
//--- Hide Splash Screen ---// //--- Hide Splash Screen ---//
async beforeCreate() { async beforeCreate() {

View file

@ -87,7 +87,6 @@ export default {
mounted() { mounted() {
this.accentColor = this.$vuetify.theme.themes.dark.primary.base; this.accentColor = this.$vuetify.theme.themes.dark.primary.base;
this.roblox = localStorage.getItem("roblox") === "true";
}, },
methods: { methods: {

View file

@ -7,16 +7,19 @@
"hostname": "youtube.com", "hostname": "youtube.com",
"androidScheme": "https" "androidScheme": "https"
}, },
"android": {
"backgroundColor": "#000000"
},
"plugins": { "plugins": {
"SplashScreen": { "SplashScreen": {
"launchShowDuration": 0, "launchShowDuration": 0,
"launchAutoHide": true, "launchAutoHide": true,
"backgroundColor": "#111111", "backgroundColor": "#000000",
"androidSplashResourceName": "splash", "androidSplashResourceName": "splash",
"androidScaleType": "CENTER_CROP", "androidScaleType": "CENTER_CROP",
"androidSpinnerStyle": "large", "androidSpinnerStyle": "large",
"iosSpinnerStyle": "small", "iosSpinnerStyle": "small",
"spinnerColor": "#999999", "spinnerColor": "#000000",
"showSpinner": false, "showSpinner": false,
"splashFullScreen": false, "splashFullScreen": false,
"splashImmersive": false "splashImmersive": false

View file

@ -9,16 +9,20 @@
"androidScheme": "https" "androidScheme": "https"
}, },
"android": {
"backgroundColor": "#000000"
},
"plugins": { "plugins": {
"SplashScreen": { "SplashScreen": {
"launchShowDuration": 0, "launchShowDuration": 0,
"launchAutoHide": true, "launchAutoHide": true,
"backgroundColor": "#111111", "backgroundColor": "#000000",
"androidSplashResourceName": "splash", "androidSplashResourceName": "splash",
"androidScaleType": "CENTER_CROP", "androidScaleType": "CENTER_CROP",
"androidSpinnerStyle": "large", "androidSpinnerStyle": "large",
"iosSpinnerStyle": "small", "iosSpinnerStyle": "small",
"spinnerColor": "#999999", "spinnerColor": "#000000",
"showSpinner": false, "showSpinner": false,
"splashFullScreen": false, "splashFullScreen": false,
"splashImmersive": false "splashImmersive": false

View file

@ -7,16 +7,19 @@
"hostname": "youtube.com", "hostname": "youtube.com",
"androidScheme": "https" "androidScheme": "https"
}, },
"android": {
"backgroundColor": "#000000"
},
"plugins": { "plugins": {
"SplashScreen": { "SplashScreen": {
"launchShowDuration": 0, "launchShowDuration": 0,
"launchAutoHide": true, "launchAutoHide": true,
"backgroundColor": "#111111", "backgroundColor": "#000000",
"androidSplashResourceName": "splash", "androidSplashResourceName": "splash",
"androidScaleType": "CENTER_CROP", "androidScaleType": "CENTER_CROP",
"androidSpinnerStyle": "large", "androidSpinnerStyle": "large",
"iosSpinnerStyle": "small", "iosSpinnerStyle": "small",
"spinnerColor": "#999999", "spinnerColor": "#000000",
"showSpinner": false, "showSpinner": false,
"splashFullScreen": false, "splashFullScreen": false,
"splashImmersive": false "splashImmersive": false

View file

@ -9,14 +9,14 @@ install! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios' pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCommunityHttp', :path => '..\..\node_modules\@capacitor-community\http' pod 'CapacitorCommunityHttp', :path => '../../node_modules/@capacitor-community/http'
pod 'CapacitorApp', :path => '..\..\node_modules\@capacitor\app' pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
pod 'CapacitorBrowser', :path => '..\..\node_modules\@capacitor\browser' pod 'CapacitorBrowser', :path => '../../node_modules/@capacitor/browser'
pod 'CapacitorDevice', :path => '..\..\node_modules\@capacitor\device' pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
pod 'CapacitorShare', :path => '..\..\node_modules\@capacitor\share' pod 'CapacitorShare', :path => '../../node_modules/@capacitor/share'
pod 'CapacitorSplashScreen', :path => '..\..\node_modules\@capacitor\splash-screen' pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'
pod 'CapacitorStatusBar', :path => '..\..\node_modules\@capacitor\status-bar' pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
pod 'HugotomaziCapacitorNavigationBar', :path => '..\..\node_modules\@hugotomazi\capacitor-navigation-bar' pod 'HugotomaziCapacitorNavigationBar', :path => '../../node_modules/@hugotomazi/capacitor-navigation-bar'
end end
target 'App' do target 'App' do