Skip to content

Commit

Permalink
Making changes to Demo and the UI to make it consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
prkbuilds committed Oct 13, 2024
1 parent d82e48e commit 8751a17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Weather Station** is a command-line application written in Rust that provides real-time weather information for any city in the world. It uses the OpenWeatherMap API to fetch weather data and displays it in a user-friendly format with colored output.

![Demo](./images/demo.png)
![Demo](./images/demo.gif)

## Features ✨

Expand Down
Binary file added images/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ pub fn ui(frame: &mut Frame, app: &App) {
if let Some(editing) = &app.currently_editing {
match editing {
CurrentlyEditing::Country => {
Span::styled("Editing Json Key", Style::default().fg(Color::Green))
Span::styled("Editing Country", Style::default().fg(Color::Green))
}
CurrentlyEditing::City => {
Span::styled("Editing Json Value", Style::default().fg(Color::LightGreen))
Span::styled("Editing City", Style::default().fg(Color::LightGreen))
}
}
} else {
Expand Down

0 comments on commit 8751a17

Please sign in to comment.