Skip to content

Commit

Permalink
fix: remove list row bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
phlpsong committed Jan 19, 2024
1 parent 90c026d commit 34cb578
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Easydict/NewApp/View/SettingView/Tabs/DisabledAppTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,6 @@ struct BlockAppItemView: View {

@EnvironmentObject var disabledAppViewModel: DisabledAppViewModel

private var listRowBgColor: Color {
disabledAppViewModel.selectedAppModels.contains {
$0.appBundleID == appFetcher.appModel.appBundleID
} ? Color("service_cell_highlight") : .clear
}

init(with appModel: EZAppModel) {
_appFetcher = StateObject(wrappedValue: AppFetcher(appModel: appModel))
}
Expand All @@ -190,7 +184,6 @@ struct BlockAppItemView: View {
}
.frame(maxWidth: .infinity)
.contentShape(Rectangle())
.listRowBackground(listRowBgColor)
.padding(.vertical, 4)
.padding(.leading, 6)
.task {
Expand Down

0 comments on commit 34cb578

Please sign in to comment.