Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Removes unneeded closure, revert back to trim in init
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsen, Chris authored and Larsen, Chris committed Mar 29, 2016
1 parent aee99c0 commit e418080
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions VimeoUpload/Upload/Model/VideoSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,8 @@ class VideoSettings: NSObject
self.privacy = privacy
self.users = users
self.password = password

// Wrap in closure so didSet gets called [CL] 3/25/16
({
self.title = title
self.desc = description
})()
self.title = self.trim(title)
self.desc = self.trim(description)
}

// MARK: Public API
Expand Down

0 comments on commit e418080

Please sign in to comment.