MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / clear_logs_DefaultKey

Method clear_logs_DefaultKey

Goldleaf/source/ui/ui_OwnSettingsLayout.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void OwnSettingsLayout::clear_logs_DefaultKey() {
75 auto sd_exp = fs::GetSdCardExplorer();
76 sd_exp->DeleteFile(GLEAF_PATH_LOG_FILE);
77 g_MainApplication->ShowNotification(cfg::Strings.GetString(515));
78 }
79
80 void OwnSettingsLayout::custom_lang_DefaultKey() {
81 std::vector<std::string> lang_opts = { cfg::Strings.GetString(521) };

Callers

nothing calls this directly

Calls 3

GetSdCardExplorerFunction · 0.85
ShowNotificationMethod · 0.80
DeleteFileMethod · 0.45

Tested by

no test coverage detected