Rename playlist.ini to replay.ini to match app (#1864)

This commit is contained in:
Mark Thompson 2024-02-08 04:34:40 -06:00 committed by GitHub
parent b7e5bedf4b
commit f80c28cde7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ PlaylistView::PlaylistView(
ensure_directory(u"PLAYLIST"); ensure_directory(u"PLAYLIST");
waterfall.show_audio_spectrum_view(false); waterfall.show_audio_spectrum_view(false);
field_frequency.set_value(100'000'000); field_frequency.set_value(transmitter_model.target_frequency());
field_frequency.on_change = [this](rf::Frequency f) { field_frequency.on_change = [this](rf::Frequency f) {
if (current()) if (current())
current()->metadata.center_frequency = f; current()->metadata.center_frequency = f;

View File

@ -56,7 +56,7 @@ class PlaylistView : public View {
NavigationView& nav_; NavigationView& nav_;
TxRadioState radio_state_{}; TxRadioState radio_state_{};
app_settings::SettingsManager settings_{ app_settings::SettingsManager settings_{
"tx_playlist", app_settings::Mode::TX}; "tx_replay", app_settings::Mode::TX};
// More header == less spectrum view. // More header == less spectrum view.
static constexpr ui::Dim header_height = 6 * 16; static constexpr ui::Dim header_height = 6 * 16;