Skip to content

Instantly share code, notes, and snippets.

@fennectech
Created October 10, 2019 04:52
Show Gist options
  • Save fennectech/31f92c48e60f439714b67d3a822c9061 to your computer and use it in GitHub Desktop.
Save fennectech/31f92c48e60f439714b67d3a822c9061 to your computer and use it in GitHub Desktop.
if (!ConfigManager::getReceivedExFATWarning()) {
_restartAlertView = new AlertView("Are you sure?", "Restarting while using an ExFAT formatted SD card\nwill cause it to corrupt. It is recommended that if\nyou have an ExFAT formatted SD card to quit,\npress the home button, and restart the switch.", buttons);
_restartAlertView->onDismiss = bind(&PackageDownloadScene::_onAlertViewDismiss, this, _1, _2);
}
if (ConfigManager::getReceivedExFATWarning()) {
bind(&PackageDownloadScene::_onAlertViewDismiss, this, _1, _2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment