Skip to content

Commit

Permalink
delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
CanglongCl committed Jan 15, 2024
1 parent 87d8d54 commit 1e46822
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Easydict/NewApp/View/SettingView/Tabs/ServiceTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ private class ServiceTabViewModel: ObservableObject {
}

func onServiceItemMove(fromOffsets: IndexSet, toOffset: Int) {
guard fromOffsets.first != toOffset else { return }
var services = services

services.move(fromOffsets: fromOffsets, toOffset: toOffset)
Expand Down

0 comments on commit 1e46822

Please sign in to comment.