Skip to content

Commit

Permalink
Reset button should be disabled when only THAT filter is non-default.
Browse files Browse the repository at this point in the history
  • Loading branch information
JPKribs committed Jan 31, 2025
1 parent 75a3030 commit ce3a2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Swiftfin/Views/FilterView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct FilterView: View {
}
.environment(
\.isEnabled,
viewModel.modifiedFilters.isNotEmpty
!viewModel.modifiedFilters.contains(type)
)
}
}
Expand Down

0 comments on commit ce3a2a4

Please sign in to comment.