Load App Settings *after* initializing RadioState (#1371)

This commit is contained in:
Mark Thompson 2023-08-13 13:33:31 -05:00 committed by GitHub
parent 5cfd7f1dc2
commit ff7a9d10cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,11 +110,11 @@ class ScannerView : public View {
std::string title() const override { return "Scanner"; }; std::string title() const override { return "Scanner"; };
private: private:
RxRadioState radio_state_{};
app_settings::SettingsManager settings_{ app_settings::SettingsManager settings_{
"rx_scanner", app_settings::Mode::RX}; "rx_scanner", app_settings::Mode::RX};
NavigationView& nav_; NavigationView& nav_;
RxRadioState radio_state_{};
void start_scan_thread(); void start_scan_thread();
void restart_scan(); void restart_scan();