diff --git a/UI/BigComponents/IndexText.ts b/UI/BigComponents/IndexText.ts index 371a9e635..22542fe59 100644 --- a/UI/BigComponents/IndexText.ts +++ b/UI/BigComponents/IndexText.ts @@ -19,7 +19,7 @@ export default class IndexText extends Combine { ), Translations.t.index.pickTheme.SetClass( - "mt-3 text-base text-green-600 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0" + "mt-3 text-base sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0" ), ]).SetClass("flex flex-col sm:text-center lg:text-left m-1 mt-2 md:m-2 md:mt-4"), ]) diff --git a/UI/BigComponents/MoreScreen.ts b/UI/BigComponents/MoreScreen.ts index 3c3d509cd..b8ce36933 100644 --- a/UI/BigComponents/MoreScreen.ts +++ b/UI/BigComponents/MoreScreen.ts @@ -29,6 +29,9 @@ export default class MoreScreen extends Combine { }) search.enterPressed.addCallbackD((searchTerm) => { searchTerm = searchTerm.toLowerCase() + if(!searchTerm){ + return + } if (searchTerm === "personal") { window.location.href = MoreScreen.createUrlFor( { id: "personal" }, diff --git a/all_themes_index.ts b/all_themes_index.ts index eb5109aa5..3be1783d5 100644 --- a/all_themes_index.ts +++ b/all_themes_index.ts @@ -28,5 +28,4 @@ if (layout !== "") { ) } -Utils.DisableLongPresses() new AllThemesGui().setup() diff --git a/assets/layers/surveillance_camera/surveillance_camera.json b/assets/layers/surveillance_camera/surveillance_camera.json index 999748c97..d4243c4fa 100644 --- a/assets/layers/surveillance_camera/surveillance_camera.json +++ b/assets/layers/surveillance_camera/surveillance_camera.json @@ -662,6 +662,7 @@ } } ], + "deletion": true, "description": { "en": "This layer shows surveillance cameras and allows a contributor to update information and add new cameras", "nl": "Deze laag toont bewakingscamera's en laat toe om de informatie te verrijken en om nieuwe camera\"s toe te voegen", diff --git a/index.ts b/index.ts index 8777911b0..9afccd792 100644 --- a/index.ts +++ b/index.ts @@ -5,9 +5,6 @@ import SvelteUIElement from "./UI/Base/SvelteUIElement" import ThemeViewGUI from "./UI/ThemeViewGUI.svelte" import {FixedUiElement} from "./UI/Base/FixedUiElement"; -// Miscelleanous -Utils.DisableLongPresses() - // @ts-ignore DetermineLayout.GetLayout() .then((layout) => {