refactor settings page and add latitude and longitude settings

This commit is contained in:
liamcottle
2025-02-16 03:46:11 +13:00
parent 00c4032b85
commit ef107f1133
5 changed files with 241 additions and 170 deletions

View File

@@ -170,6 +170,10 @@ class Connection {
await GlobalState.connection.setAdvertName(name);
}
static async setAdvertLatLong(latitude, longitude) {
await GlobalState.connection.setAdvertLatLong(latitude, longitude);
}
static async setTxPower(txPower) {
await GlobalState.connection.setTxPower(txPower);
}