Cleans up the code a bit

This commit is contained in:
2025-07-12 20:00:44 +02:00
parent df1e3ff905
commit ad0e81fdc3
8 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ impl RenameGame {
impl<'a> Flow<'a> for RenameGame {
async fn run(&self, state: &'a mut GamenightState) -> FlowResult<'a> {
if let Some(name) = Text::new(&format!("Rename {} to:", self.game.name))
.with_initial_value(&format!("{}", self.game.name))
.with_initial_value(&self.game.name)
.prompt_skippable()?
{
let req = RenameGameRequestBody {