diff --git a/gui/package.json b/gui/package.json
index e7227173..67603307 100644
--- a/gui/package.json
+++ b/gui/package.json
@@ -32,7 +32,7 @@
"@electron/osx-sign": "^1.0.4",
"@popperjs/core": "^2.11.6",
"blob-util": "^2.0.2",
- "bootstrap": "^5.2.3",
+ "bootstrap": "^5.3.0-alpha.1",
"bootstrap-icons": "^1.10.3",
"bootswatch": "^5.2.3",
"browser-image-compression": "^2.0.0",
diff --git a/gui/preload-chat.js b/gui/preload-chat.js
index 37c4d002..bb60779e 100644
--- a/gui/preload-chat.js
+++ b/gui/preload-chat.js
@@ -144,14 +144,7 @@ updateAllChat(false);
// WINDOW LISTENER
window.addEventListener("DOMContentLoaded", () => {
// theme selector
- if (config.theme != "default") {
- var theme_path =
- "../node_modules/bootswatch/dist/" + config.theme + "/bootstrap.min.css";
- document.getElementById("bootstrap_theme").href = theme_path;
- } else {
- var theme_path = "../node_modules/bootstrap/dist/css/bootstrap.min.css";
- document.getElementById("bootstrap_theme").href = theme_path;
- }
+ changeGuiDesign(config.theme);
const userInfoFields = [
"user_info_image",
@@ -975,7 +968,7 @@ update_chat = function (obj) {
-
+
${filename} ${filesize} @@ -986,7 +979,7 @@ update_chat = function (obj) { } else { var fileheader = `