Signal-iOS/SignalUI/ViewControllers/AttachmentApproval
Jordan Rose 4f06a6d8a5 Fix incorrect uses of NotificationCenter block-based API
The block-based API returns a token that needs to be explicitly
unregistered, *and* the block should not capture 'self' strongly.
The fixes in this PR come in three flavors:

1. Switch to the selector-based API, sometimes taking advantage of
   the fact that extra arguments to an Objective-C method can be
   safely discarded (because they are passed at +0).

2. Save the observer token and unregister in deinit.

3. Comment why it's safe to leave the observer registered forever
   in this particular case.
2022-08-02 17:43:52 -07:00
..
ApprovalRailCellView.swift Animate UI changes in the bottom toolbar in media review screen. 2022-07-13 12:12:48 -07:00
AttachmentApprovalToolbar.swift Media Editor: fix an issue when Pen and Crop button might not be visible. 2022-07-25 17:00:56 -07:00
AttachmentApprovalTopBar.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
AttachmentApprovalViewController.swift Fix incorrect uses of NotificationCenter block-based API 2022-08-02 17:43:52 -07:00
AttachmentCaptionToolbar.swift Fix reentrant DB read on mentions processing 2022-06-20 13:21:22 -07:00
AttachmentItemCollection.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00
AttachmentPrepContentView.swift Improve crop view presentation. 2022-07-12 12:03:55 -07:00
AttachmentPrepViewController.swift [Media Editor] Do not wrap image editing tool VCs in a nav controller. 2022-07-07 15:38:25 -07:00
AttachmentTextToolbar.swift Fix issue making it impossible to activate popup menu in media editor's review screen. 2022-07-14 12:35:29 -07:00
AttachmentTextView.swift Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
ExpandableContactListView.swift Minor UI fix for the review screen in media editor. 2022-07-14 12:09:35 -07:00
MediaTopBar.swift Merge branch igor/media-editor-updates. 2022-07-06 14:54:26 -07:00