diff --git a/src/main.rs b/src/main.rs index c63a799..3d37037 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ enum RollField { Date, Exposures, Film, - ShotAt, + ISO, } #[derive(Copy, Clone, Debug, PartialEq, Eq)] @@ -149,7 +149,7 @@ impl eframe::App for MyApp { ("Date", RollField::Date), ("Exposures", RollField::Exposures), ("Film", RollField::Film), - ("Shot at", RollField::ShotAt), + ("ISO", RollField::ISO), ] { let label_text = if field_id == self.roll_sort.0 { RichText::new(format!("{} {}", name, self.roll_sort.1)) @@ -185,7 +185,7 @@ impl eframe::App for MyApp { RollField::Film => self.state.films[roll_1.film] .name .cmp(&self.state.films[roll_2.film].name), - RollField::ShotAt => roll_1 + RollField::ISO => roll_1 .shot_at .unwrap_or(self.state.films[roll_1.film].iso) .cmp(