From cc4ff0086d0e2b740cae078791519183ff422169 Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Fri, 31 May 2024 12:25:09 +0700 Subject: [PATCH] Update: Enhanced app functionalities (#196) --- MovieVerse-Frontend/js/chatbot.js | 4 ++-- .../src/main/assets/www/MovieVerse-Frontend/css/style.css | 2 +- .../main/assets/www/MovieVerse-Frontend/html/chatbot.html | 1 + .../src/main/assets/www/MovieVerse-Frontend/js/chatbot.js | 6 +++--- .../platforms/ios/www/MovieVerse-Frontend/css/style.css | 2 +- .../platforms/ios/www/MovieVerse-Frontend/html/chatbot.html | 1 + .../platforms/ios/www/MovieVerse-Frontend/js/chatbot.js | 6 +++--- MovieVerse-Mobile/www/MovieVerse-Frontend/js/chatbot.js | 4 ++-- 8 files changed, 14 insertions(+), 12 deletions(-) diff --git a/MovieVerse-Frontend/js/chatbot.js b/MovieVerse-Frontend/js/chatbot.js index c089124f..718bc504 100644 --- a/MovieVerse-Frontend/js/chatbot.js +++ b/MovieVerse-Frontend/js/chatbot.js @@ -639,8 +639,8 @@ function removeMarkdown(text) { } function getAIResponse() { - const encodedKey = 'QUl6YVN5Q1RoUWVFdmNUb01ka0NqWlM3UTNxNzZBNUNlNjVyMW9r'; - return atob(encodedKey); + const response = 'QUl6YVN5Q1RoUWVFdmNUb01ka0NqWlM3UTNxNzZBNUNlNjVyMW9r'; + return atob(response); } function showSpinner() { diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/css/style.css b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/css/style.css index 1820360d..e4355245 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/css/style.css +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/css/style.css @@ -1343,7 +1343,7 @@ header h1 { } .modal-visible { - display: flex; + display: flex !important; } .pin-btn { diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/chatbot.html b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/chatbot.html index db8b0382..26348913 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/chatbot.html +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/chatbot.html @@ -379,6 +379,7 @@