Skip to content

Commit

Permalink
⚡ :: 섹션 추가 위치 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbeomkwak committed Jun 20, 2024
1 parent 6cacbb8 commit 828445a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public final class BeforeSearchContentViewController: BaseReactorViewController<
override public func viewDidLoad() {
super.viewDidLoad()
reactor?.action.onNext(.viewDidLoad)
var snapShot = dataSource.snapshot()
snapShot.appendSections([.youtube, .recommend, .popularList])
dataSource.apply(snapShot)
}

override public func addView() {
Expand Down Expand Up @@ -156,6 +153,7 @@ public final class BeforeSearchContentViewController: BaseReactorViewController<
.bind(with: self) { owner, dataSource in

var snapShot = owner.dataSource.snapshot()
snapShot.appendSections([.youtube, .recommend, .popularList])

let tmp: [Model] = [Model(title: "임시플리1"), Model(title: "임시플리2"), Model(title: "임시플리3")]

Expand Down

0 comments on commit 828445a

Please sign in to comment.