From a3077902ae8a93875f4f877aeec8a297ae8d67c9 Mon Sep 17 00:00:00 2001 From: Pratiksha Khandagale Date: Fri, 4 Oct 2024 17:31:22 +0530 Subject: [PATCH] Drive link thumbnail --- capacitor.config.ts | 6 +++++- src/app/pages/home/home.page.html | 2 +- src/app/pages/mypitara/mypitara.page.html | 4 ++-- .../playlist-details.page.html | 14 ++------------ .../qr-scan-result/qr-scan-result.page.html | 2 +- src/app/pages/search/search.page.html | 3 +-- src/app/pages/view-all/view-all.page.html | 4 ++-- .../services/api/http.capacitor.adapter.ts | 19 +++++++++++++++++-- 8 files changed, 31 insertions(+), 23 deletions(-) diff --git a/capacitor.config.ts b/capacitor.config.ts index 8db1696f..5064675d 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -6,7 +6,11 @@ const config: CapacitorConfig = { loggingBehavior: "none", webDir: 'www', server: { - androidScheme: 'https' + androidScheme: 'https', + allowNavigation: [ + "https://drive.google.com", + "https://docs.google.com" + ] }, plugins: { CapacitorSQLite: { diff --git a/src/app/pages/home/home.page.html b/src/app/pages/home/home.page.html index bd0d34bf..ef8f876b 100644 --- a/src/app/pages/home/home.page.html +++ b/src/app/pages/home/home.page.html @@ -57,7 +57,7 @@ - + diff --git a/src/app/pages/mypitara/mypitara.page.html b/src/app/pages/mypitara/mypitara.page.html index 02c1d28f..7dc7cb41 100644 --- a/src/app/pages/mypitara/mypitara.page.html +++ b/src/app/pages/mypitara/mypitara.page.html @@ -21,8 +21,8 @@ - - + +
{{content.metaData.name |translate}}
diff --git a/src/app/pages/playlist-details/playlist-details.page.html b/src/app/pages/playlist-details/playlist-details.page.html index 56a9627f..837a1e3f 100644 --- a/src/app/pages/playlist-details/playlist-details.page.html +++ b/src/app/pages/playlist-details/playlist-details.page.html @@ -6,22 +6,12 @@
- - + - - - - - - + diff --git a/src/app/pages/qr-scan-result/qr-scan-result.page.html b/src/app/pages/qr-scan-result/qr-scan-result.page.html index b72bc8ec..0bfdc93c 100644 --- a/src/app/pages/qr-scan-result/qr-scan-result.page.html +++ b/src/app/pages/qr-scan-result/qr-scan-result.page.html @@ -35,7 +35,7 @@ - +
diff --git a/src/app/pages/search/search.page.html b/src/app/pages/search/search.page.html index 00ba0402..de6a1888 100644 --- a/src/app/pages/search/search.page.html +++ b/src/app/pages/search/search.page.html @@ -56,9 +56,8 @@ - - +