Fixed another subtle bug with scrolling movie titles when showing the delete movie popup

This commit is contained in:
2023-08-08 10:50:07 -06:00
parent e9b6ff0ca1
commit 56fe4400cc
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ fn draw_delete_download_prompt<B: Backend>(
prompt_area, prompt_area,
"Cancel Download", "Cancel Download",
format!( format!(
"Do you really want to delete this download: {}?", "Do you really want to delete this download: \n{}?",
app.data.radarr_data.downloads.current_selection().title app.data.radarr_data.downloads.current_selection().title
) )
.as_str(), .as_str(),
+1 -1
View File
@@ -134,7 +134,7 @@ fn draw_delete_indexer_prompt<B: Backend>(
prompt_area, prompt_area,
"Delete Indexer", "Delete Indexer",
format!( format!(
"Do you really want to delete this indexer: {}?", "Do you really want to delete this indexer: \n{}?",
app app
.data .data
.radarr_data .radarr_data
+2 -2
View File
@@ -36,8 +36,8 @@ impl DrawUi for DeleteMovieUi {
prompt_area, prompt_area,
"Delete Movie", "Delete Movie",
format!( format!(
"Do you really want to delete: {}?", "Do you really want to delete: \n{}?",
app.data.radarr_data.movies.current_selection().title app.data.radarr_data.movies.current_selection().title.text
) )
.as_str(), .as_str(),
vec![ vec![
+1 -1
View File
@@ -152,7 +152,7 @@ fn draw_delete_root_folder_prompt<B: Backend>(
prompt_area, prompt_area,
"Delete Root Folder", "Delete Root Folder",
format!( format!(
"Do you really want to delete this root folder: {}?", "Do you really want to delete this root folder: \n{}?",
app.data.radarr_data.root_folders.current_selection().path app.data.radarr_data.root_folders.current_selection().path
) )
.as_str(), .as_str(),