Skip to content

Commit

Permalink
fix: long service name make toggle disappear issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phlpsong committed Apr 7, 2024
1 parent a459d22 commit 7843478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Easydict/Swift/View/SettingView/Tabs/ServiceTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private struct ServiceItemView: View {
.frame(width: 20.0, height: 20.0)
Text(service.name())
.lineLimit(1)
.fixedSize()
.frame(maxWidth: 180, alignment: .leading)
}
}
.onReceive(serviceItemViewModel.$isEnable) { newValue in
Expand Down

0 comments on commit 7843478

Please sign in to comment.