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

Function DeleteUser

Goldleaf/source/ui/ui_AccountLayout.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 namespace {
31
32 Result DeleteUser() {
33 const auto rc = accountextDeleteUser(acc::GetSelectedUser());
34 if(R_SUCCEEDED(rc)) {
35 acc::ResetSelectedUser();
36 g_MainApplication->ShowNotification(cfg::Strings.GetString(219));
37 g_MainApplication->ReturnToParentLayout();
38 }
39 return rc;
40 }
41
42 }
43

Callers 1

optsDelete_DefaultKeyMethod · 0.85

Calls 4

GetSelectedUserFunction · 0.85
ResetSelectedUserFunction · 0.85
ShowNotificationMethod · 0.80
ReturnToParentLayoutMethod · 0.80

Tested by

no test coverage detected