Skip to content

Commit 1b5fc2b

Browse files
Removed closing animation for the tabs (#1383)
1 parent fddb150 commit 1b5fc2b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CodeEdit/Features/Tabs/Views/TabBarItemView.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,7 @@ struct TabBarItemView: View {
103103
/// Close the current tab.
104104
func closeAction() {
105105
isAppeared = false
106-
withAnimation(
107-
.easeOut(duration: tabBarStyle == .native ? 0.15 : 0.20)
108-
) {
109-
tabgroup.closeTab(item: item)
110-
}
106+
tabgroup.closeTab(item: item)
111107
}
112108

113109
init(

0 commit comments

Comments
 (0)