Skip to content

Commit

Permalink
revert and remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
chickdan committed Jan 8, 2025
1 parent ee2f0c1 commit 46e1242
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Shared/Components/TruncatedText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ struct TruncatedText: View {
}
.hidden()
}
.onChange(of: isTruncated) { _, newValue in
.onChange(of: isTruncated) { newValue in
isTruncatedBinding.wrappedValue = newValue
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct OnScenePhaseChangedModifier: ViewModifier {
let action: () -> Void

func body(content: Content) -> some View {
content.onChange(of: scenePhase) { _, newValue in
content.onChange(of: scenePhase) { newValue in
if newValue == phase {
action()
}
Expand Down
6 changes: 0 additions & 6 deletions Swiftfin tvOS/Views/SettingsView/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ struct SettingsView: View {
UserProfileRow(user: viewModel.userSession.user.data) {
router.route(to: \.userProfile, viewModel)
}
// Button {} label: {
// TextPairView(
// leading: L10n.user,
// trailing: viewModel.userSession.user.username
// )
// }

ChevronButton(
L10n.server,
Expand Down

0 comments on commit 46e1242

Please sign in to comment.