mirror of
https://github.com/tonytins/amtkstat.git
synced 2025-07-16 10:56:36 -04:00
Minimum width and height for small(ish) screens
- Maximum height and width now matches the web app's - Finally, renamed the "greet" functions to "station"
This commit is contained in:
parent
c24378ffad
commit
09746c2315
3 changed files with 12 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
|
||||
#[tauri::command]
|
||||
fn greet(name: &str) -> String {
|
||||
fn station(name: &str) -> String {
|
||||
format!(
|
||||
"https://dixielandsoftware.net/cgi-bin/solari_relay.pl?data={}",
|
||||
name
|
||||
|
@ -12,7 +12,7 @@ fn greet(name: &str) -> String {
|
|||
|
||||
fn main() {
|
||||
tauri::Builder::default()
|
||||
.invoke_handler(tauri::generate_handler![greet])
|
||||
.invoke_handler(tauri::generate_handler![station])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue