Skip to content

Commit

Permalink
fix ExternalOptionView reset not work
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Jun 6, 2024
1 parent 6324022 commit 1535920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/optionviews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ struct ExternalOptionView: OptionView {
}.padding([.top])
footer(
reset: {
model.resetToDefault()
viewModel.externalConfig?.resetToDefault()
},
apply: {
viewModel.saveExternalConfig(model.external)
Expand Down

0 comments on commit 1535920

Please sign in to comment.