style: apply rustfmt
This commit is contained in:
1 parent
7723716e18
commit
a58e6fb76d
20 files changed
+114
-83
No files matched your search
@@ -9,7 +9,10 @@ use ratatui::{
|
||||
widgets::{Block, Borders, Paragraph},
|
||||
};
|
||||
|
||||
use crate::config::{SETTINGS, theme::{BORDER_STYLE, THEME}};
|
||||
use crate::config::{
|
||||
SETTINGS,
|
||||
theme::{BORDER_STYLE, THEME},
|
||||
};
|
||||
use crate::instance::models::InstanceConfig;
|
||||
use crate::tui::app::FocusedArea;
|
||||
|
||||
@@ -66,8 +69,14 @@ pub fn render(
|
||||
.add_modifier(Modifier::BOLD);
|
||||
let dim_style = Style::default().fg(theme.text_dim());
|
||||
|
||||
let memory_min = inst.memory_min.as_deref().unwrap_or(&SETTINGS.defaults.memory_min);
|
||||
let memory_max = inst.memory_max.as_deref().unwrap_or(&SETTINGS.defaults.memory_max);
|
||||
let memory_min = inst
|
||||
.memory_min
|
||||
.as_deref()
|
||||
.unwrap_or(&SETTINGS.defaults.memory_min);
|
||||
let memory_max = inst
|
||||
.memory_max
|
||||
.as_deref()
|
||||
.unwrap_or(&SETTINGS.defaults.memory_max);
|
||||
let java_path = inst
|
||||
.java_path
|
||||
.as_deref()
|
||||
|
||||
Reference in new issue
Block a user