Skip to content

Commit

Permalink
Fixed path not copied
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrot committed Feb 12, 2023
1 parent c524f32 commit 9d9750d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/dialogs/copy_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ copyDialog(context, item, Function(String, {bool loading}) statusMsg) {
// Error catching
if (results != ' ') {
statusMsg(results, loading: false);
return;
}
// Copy settings
String? startPath = prefs.getString('StartPath_$item') ?? '';
Expand All @@ -53,8 +52,7 @@ copyDialog(context, item, Function(String, {bool loading}) statusMsg) {
prefs.setString('StartUser_$inputText', startName);
// Save distro path
prefs.setString('Path_$inputText', defaultPath + inputText);
statusMsg(
'donecopyinginstance-text'.i18n([distroLabel(item), inputText]),
statusMsg('donecopyinginstance-text'.i18n([item, inputText]),
loading: false);
} else {
statusMsg('errorentername-text'.i18n(), loading: false);
Expand Down

0 comments on commit 9d9750d

Please # to comment.