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

Method OnRemotePcExploreSelected

Goldleaf/source/ui/ui_ExploreMenuLayout.cpp:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void ExploreMenuLayout::OnRemotePcExploreSelected() {
144 if(usb::IsStateOk()) {
145 if(R_SUCCEEDED(g_MainApplication->GetRemotePcExploreLayout()->Reload())) {
146 g_MainApplication->ShowLayout(g_MainApplication->GetRemotePcExploreLayout());
147 }
148 }
149 else {
150 g_MainApplication->ShowNotification(cfg::Strings.GetString(300));
151 }
152 }
153
154 void ExploreMenuLayout::OnNandPartitionSelected(const fs::Partition partition) {
155 g_MainApplication->LoadCommonIconMenuData(true, cfg::Strings.GetString(1), CommonIconKind::NAND, "");

Callers

nothing calls this directly

Calls 4

IsStateOkFunction · 0.85
ShowLayoutMethod · 0.80
ShowNotificationMethod · 0.80
ReloadMethod · 0.45

Tested by

no test coverage detected