1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-22 02:06:41 +00:00

OptionsTab: reset cached output storage value while resetting settings.

Other changes include:

* workflow: try manually cloning the repository instead of using the checkout action.
This commit is contained in:
Pablo Curiel 2024-05-01 13:56:49 +02:00
parent 1ff3df4eca
commit 21f16ef020
2 changed files with 7 additions and 3 deletions

View file

@ -29,9 +29,9 @@ jobs:
shell: bash
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Clone nxdumptool repository
run: |
git clone --recurse-submodules https://github.com/DarkMatterCore/nxdumptool .
- name: Set environment variables
run: |

View file

@ -435,8 +435,12 @@ namespace nxdt::views
reset_settings->getClickEvent()->subscribe([this](brls::View* view) {
if (!this->display_notification) return;
/* Reset settings. */
configResetSettings();
/* Reset cached output storage value. */
this->root_view->SetOutputStorage(ConfigOutputStorage_SdCard);
this->DisplayNotification("options_tab/notifications/settings_reset"_i18n);
});