Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ _None._

### Bug Fixes

_None._
- Fix a `viewWillDisappear` method calling `super.viewWillAppear` [#40]

### Internal Changes

Expand Down
1 change: 1 addition & 0 deletions Sources/Capabilities/Filters/MediaEditorFilters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class MediaEditorFilters: UIViewController {
private var selectedFilterIndex = IndexPath(row: 0, section: 0)

override func viewDidLoad() {
super.viewDidLoad()
imageView.image = image
filtersCollectionView.dataSource = self
filtersCollectionView.delegate = self
Expand Down
2 changes: 1 addition & 1 deletion Sources/MediaEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ open class MediaEditor: UINavigationController {
}

public override func viewWillDisappear(_ animated: Bool) {
super.viewWillAppear(animated)
super.viewWillDisappear(animated)
currentCapability = nil
}

Expand Down