fmt
All checks were successful
Rust Checks / checks (push) Successful in 8m0s
Rust Checks / checks (pull_request) Successful in 1m20s

This commit is contained in:
CoCo_Sol 2024-02-09 07:34:10 +01:00
parent 8ba8d16356
commit 316bbf77f0

View file

@ -41,7 +41,7 @@ fn ui_connect_button(mut address: ResMut<Address>, mut egui_ctx: EguiContexts) {
.show(egui_ctx.ctx_mut(), |ui| { .show(egui_ctx.ctx_mut(), |ui| {
// Create the text // Create the text
ui.heading("Please enter the password of the game: "); ui.heading("Please enter the password of the game: ");
ui.horizontal(|ui| { ui.horizontal(|ui| {
ui.label("Address: "); ui.label("Address: ");
@ -70,7 +70,6 @@ fn ui_host_button(mut egui_ctx: EguiContexts, mut address: ResMut<Address>) {
egui::Window::new("Host") egui::Window::new("Host")
.default_width(400.0) .default_width(400.0)
.show(egui_ctx.ctx_mut(), |ui| { .show(egui_ctx.ctx_mut(), |ui| {
// Create the text // Create the text
let button = ui.button("Create new game"); let button = ui.button("Create new game");