mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Only show replay storage option in advanced view
This commit is contained in:
@@ -200,6 +200,7 @@ namespace gsr {
|
|||||||
RadioButton *turn_on_replay_automatically_mode_ptr = nullptr;
|
RadioButton *turn_on_replay_automatically_mode_ptr = nullptr;
|
||||||
Subsection *audio_section_ptr = nullptr;
|
Subsection *audio_section_ptr = nullptr;
|
||||||
List *audio_track_section_list_ptr = nullptr;
|
List *audio_track_section_list_ptr = nullptr;
|
||||||
|
List *replay_storage_list_ptr = nullptr;
|
||||||
|
|
||||||
PageStack *page_stack = nullptr;
|
PageStack *page_stack = nullptr;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -768,6 +768,7 @@ namespace gsr {
|
|||||||
|
|
||||||
list->add_widget(std::move(replay_storage_button));
|
list->add_widget(std::move(replay_storage_button));
|
||||||
list->set_visible(gsr_info->system_info.gsr_version >= GsrVersion{5, 5, 0});
|
list->set_visible(gsr_info->system_info.gsr_version >= GsrVersion{5, 5, 0});
|
||||||
|
replay_storage_list_ptr = list.get();
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -836,6 +837,7 @@ namespace gsr {
|
|||||||
notifications_subsection_ptr->set_visible(advanced_view);
|
notifications_subsection_ptr->set_visible(advanced_view);
|
||||||
set_application_audio_options_visible(audio_track_section_list_ptr, advanced_view, *gsr_info);
|
set_application_audio_options_visible(audio_track_section_list_ptr, advanced_view, *gsr_info);
|
||||||
settings_scrollable_page_ptr->reset_scroll();
|
settings_scrollable_page_ptr->reset_scroll();
|
||||||
|
replay_storage_list_ptr->set_visible(advanced_view && gsr_info->system_info.gsr_version >= GsrVersion{5, 5, 0});
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsPage::add_replay_widgets() {
|
void SettingsPage::add_replay_widgets() {
|
||||||
|
|||||||
Reference in New Issue
Block a user