Signal-iOS/SignalUI
Igor Solomennikov db0c4e7c73 Fix crash when opening media flow with message pre-populated.
Steps to reproduce:
• open group chat and type a message containing "@" but don't send it.
• tap on + and select last photo/video from the strip.
• observe app crashing.

Cause of crash:
Attempting to access a child view controller of UIPageViewController
while using force unwrap when UIPageViewController's view is not yet loaded.

The fix:
• Remove force unwrapping (linter was complaining about that too).
• Add "isViewLoaded" check to the method that was causing the crash.
2022-05-25 11:42:04 -07:00
..
Appearance Add “Gift a Badge” menu item 2022-05-12 15:09:58 -05:00
Categories Fix violations of SwiftLint's attributes rule 2022-05-14 09:07:42 -05:00
Environment Report HTTP status code when web sockets fail to connect 2022-03-28 15:25:37 -07:00
Fonts Add new fonts for text stories 2022-03-17 14:30:19 -07:00
Payments Fix violations of SwiftLint's attributes rule 2022-05-14 09:07:42 -05:00
SignalUI.docc Add SignalUI framework target. 2021-10-19 09:39:52 -03:00
UI Fix typos 2022-03-18 11:31:06 -07:00
Utils Fix violations of SwiftLint's attributes rule 2022-05-14 09:07:42 -05:00
ViewControllers Fix crash when opening media flow with message pre-populated. 2022-05-25 11:42:04 -07:00
ViewModels Fix violations of SwiftLint's attributes rule 2022-05-14 09:07:42 -05:00
Views Fix typo: "Gausian" -> "Gaussian". 2022-05-17 19:25:30 -07:00
Wallpapers Fix typo: "Gausian" -> "Gaussian". 2022-05-17 19:25:30 -07:00
SignalUI-Prefix.pch minor changes due to changed name of NSLocalizedStringFromAppBundle (now OWSLocalizedString) and new location of swift function and preprocessor definition 2022-03-11 14:08:26 +01:00
SignalUI.h Change phone number. 2021-11-19 14:28:18 -03:00