Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Jun 2, 2023
1 parent f8cb840 commit 4cdd42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl eframe::App for MyApp {
let single_time: Vec<&str> = x.split(':').collect();
if (single_time[0] == "" || single_time[0] == hour || single_time[0] == "0".to_string() + &hour) &&
(single_time[1] == "" || single_time[1] == minute || single_time[1] == "0".to_string() + &minute) &&
((single_time[2] == "" && (second == "0" || second == "00")) || single_time[2] == second) {
((single_time[2] == "" && second == "0") || single_time[2] == second || single_time[2] == "0".to_string() + &second) {
if self.tikpop == false {
self.in_time_popup = true;
begin_tik(index.try_into().unwrap(), self.in_time_popup);
Expand Down

0 comments on commit 4cdd42a

Please sign in to comment.