Implement "Set Up System Files" on Android (#653)
* Implement "Set Up System Files" on Android * Use correct strings + Remove chunks of unused code * Updated license header * SystemFilesFragment.kt: Use radio buttons for selecting O3DS/N3DS * HomeSettingsFragment.kt: Moved `Install CIA` above `Set Up System Files` * strings.xml: Updated system file setup button strings * android: Remove System Files Warning This warning is no longer relevant due to changes in how system files are installed --------- Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
This commit is contained in:
@@ -2139,6 +2139,8 @@ void GMainWindow::OnMenuSetUpSystemFiles() {
|
||||
QRadioButton radio1(&dialog);
|
||||
QRadioButton radio2(&dialog);
|
||||
if (!install_state.first) {
|
||||
radio1.setChecked(true);
|
||||
|
||||
radio1.setText(tr("(\u2139\uFE0F) Old 3DS setup"));
|
||||
radio1.setToolTip(tr("Setup is possible."));
|
||||
|
||||
@@ -2150,14 +2152,17 @@ void GMainWindow::OnMenuSetUpSystemFiles() {
|
||||
radio1.setToolTip(tr("Setup completed."));
|
||||
|
||||
if (!install_state.second) {
|
||||
radio2.setChecked(true);
|
||||
|
||||
radio2.setText(tr("(\u2139\uFE0F) New 3DS setup"));
|
||||
radio2.setToolTip(tr("Setup is possible."));
|
||||
} else {
|
||||
radio1.setChecked(true);
|
||||
|
||||
radio2.setText(tr("(\u2705) New 3DS setup"));
|
||||
radio2.setToolTip(tr("Setup completed."));
|
||||
}
|
||||
}
|
||||
radio1.setChecked(true);
|
||||
layout.addWidget(&radio1);
|
||||
layout.addWidget(&radio2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user