display useful info in ftp menu (ip, port, user, pass, ssid, passphrase)

This commit is contained in:
ITotalJustice
2025-04-23 01:00:36 +01:00
parent e2a1c8b5e3
commit 90f8a62823
5 changed files with 85 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ struct Menu final : MenuBase {
Mutex m_mutex{};
// the below are shared across threads, lock with the above mutex!
State m_state{State::None};
const char* m_user{};
const char* m_pass{};
unsigned m_port{};
bool m_anon{};
};
} // namespace sphaira::ui::menu::ftp

View File

@@ -29,6 +29,7 @@ private:
std::string m_title_sub_heading{};
std::string m_sub_heading{};
protected:
struct tm m_tm{};
TimeStamp m_poll_timestamp{};
u32 m_battery_percetange{};