Added error handling in Geolocate API

This commit is contained in:
brotoskyj
2025-02-24 19:45:26 +00:00
parent 768ad21449
commit 6cc8e9bfe3
7 changed files with 231 additions and 27 deletions
+7
View File
@@ -1,5 +1,9 @@
import { AboutSlint, VerticalBox, GridBox, Button, LineEdit, HorizontalBox, TextEdit, SpinBox, StandardListView } from "std-widgets.slint";
export global UserModuleCallbacks {
pure callback searchUser();
}
export component UserModules inherits Window {
VerticalLayout {
spacing: 5px;
@@ -29,6 +33,9 @@ export component UserModules inherits Window {
Button {
text: "Search";
primary: true;
clicked => {
UserModuleCallbacks.searchUser();
}
}
}