Skip to content

Commit

Permalink
fix: use default server address defined in include/arduino_secrets.h …
Browse files Browse the repository at this point in the history
…file

Signed-off-by: Aditya Agarwal <[email protected]>
  • Loading branch information
Aditya-A-garwal committed Mar 25, 2024
1 parent 6799d31 commit 77a0761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,6 @@ void init_connection_view() {

pass_label
->set_message("WiFi Password:")
#ifdef DEFAULT_SERVER_ADDR
->set_message(DEFAULT_SERVER_ADDR)
#endif
->get_style()
->set_text_size(2)
->set_horizontal_alignment(LabelStyle::HorizontalAlignment::LEFT_ALIGN)
Expand Down Expand Up @@ -667,6 +664,9 @@ void init_connection_view() {
->set_event_queue(app->get_event_queue())
->set_onrelease(open_keyboard)
->set_args((unsigned *)addr_box)
#ifdef DEFAULT_SERVER_ADDR
->set_message(DEFAULT_SERVER_ADDR)
#endif
->get_style()
->set_text_size(2)
->set_horizontal_alignment(LabelStyle::HorizontalAlignment::LEFT_ALIGN)
Expand Down

0 comments on commit 77a0761

Please sign in to comment.