Commit Graph

53 Commits

Author SHA1 Message Date
Michelle Linington
37fe097812 Lint 2022-04-13 20:23:22 -07:00
Michelle Linington
d54d654cfc PR Feedback: Remove notImplemented altogether 2022-04-13 20:21:47 -07:00
Michelle Linington
6b2f8d31d6 Lint 2022-04-13 20:21:46 -07:00
Michelle Linington
cca09295e6 Adopt notImplemented() where it's unadopted
notImplemented() ends up forwarding to fatalError() anyway, but before
it does so it flushes our logs. That's probably good to have. I think
most of these come from the default implementations Xcode provides for
you with a fix-it.
2022-04-13 20:21:46 -07:00
Evan Hahn
8b072620a6 Add "Donation Receipts" view 2022-04-11 16:21:12 -05:00
Michelle Linington
dd0a7f6b80 Require transaction to check blocked address state 2022-04-08 19:01:43 -07:00
Michelle Linington
739af9372a Require transaction to check blocked thread state 2022-04-08 19:01:43 -07:00
Igor Solomennikov
95d6a96824 Update checkmark in chat picker from media sharing flow to match other views.
ConversationPicker shared checkmark asset with media editor toolbar. The
checkmark was a little bit too small, also checked and unchecked indicators
had different size.

This commit updates ConversationPicker to use the same checkmark styling
that group UI has.
2022-03-29 10:12:29 -07:00
Igor Solomennikov
d9acd69963 [MediaEditor] Fix typo that caused broken layout when in landscape mode. 2022-03-22 14:24:13 -07:00
Igor Solomennikov
007415832e Disable Send/Proceed button if no chats are selected. 2022-03-22 10:56:46 -07:00
Dimitris Apostolou
62724cf0be Fix typos 2022-03-18 11:31:06 -07:00
Martin Böttcher
000c4c282b Merge branch 'master' into martin/IOS-2234 2022-03-17 09:09:37 +01:00
Nora Trapp
52a3182f13 Render story rings on avatars 2022-03-16 17:52:43 -07:00
Martin Böttcher
8f9be31ba3 replaced NSLocalizedStringFromAppBundle with OWSLocalizedString 2022-03-08 10:17:25 +01:00
Martin Böttcher
c0adfbfb32 NSLocalizedString is replaced by NSLocalizedStringFromAppBundle (reading strings from the bundle of the main app) for all source files called by an app extension and the localizable files are removed for the app extension targets. 2022-03-07 13:29:06 +01:00
Chris Eager
d92eaf97d5 lint fixes 2022-03-04 15:41:21 -08:00
Chris Eager
fa8e829115 Move CaptchaView to its own file 2022-03-04 15:41:21 -08:00
Chris Eager
b33a623e28 Add support for staging captcha URLs 2022-03-04 15:41:21 -08:00
Igor Solomennikov
96c7b802de Slightly tweak position of photos/videos in media editor.
In order to minimize amount of moving elements when transitioning from
in-app camera to media editor.
2022-03-02 17:58:40 -08:00
Igor Solomennikov
f8824905c9 Remove OWSNavigationController.ows_preferredStatusBarStyle.
Turns out it is not really necessary: a subclassed UINavigationController
is presented and `preferredStatusBarStyle` override works just fine.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
a48c40b2ba Make status bar visible when media sharing UI is presented.
Media sharing UI is implemented in dark-only style which means
status bar needs to be updated to be visible if the rest of application UI
is in light mode.
2022-03-02 17:56:39 -08:00
Jordan Rose
058a0213b7 Check whether you're blocked in a thread without a write transaction
In most cases when working with a ConversationItem we already have a
write transaction, but sometimes we don't. In this case, we know you
can only be blocked in a conversation if there's history in it (at
least as far as the local device knows), and so we can ignore any
threads that don't exist.
2022-02-18 14:00:27 -08:00
Igor Solomennikov
6c037a84af Fix typo in a comment. 2022-01-31 17:57:15 -08:00
Igor Solomennikov
d1a726f467 Do not use UIVC.automaticallyAdjustsScrollViewInsets - deprecated.
Use UIScrollView.contentInsetAdjustmentBehavior instead.
2022-01-31 15:41:18 -08:00
Igor Solomennikov
6848210a4c Remove UIScrollView workaround that was only used in iOS 11.0-11.2
Not needed anymore since min supported iOS version is now 12.2
2022-01-31 15:15:18 -08:00
Igor Solomennikov
ec96c7a1c6 Do not use UIVC.topLayoutGuide and UIVC.bottomLayoutGuide.
Both are deprecated in iOS 12.
2022-01-31 15:15:18 -08:00
Michelle Linington
f29d37f381 Merge branch 'release/5.27.0' 2022-01-26 12:21:38 -08:00
Martin Böttcher
fcbd352462 renamed some properties and arguments; removed orphaned protocol 2022-01-26 10:46:08 +01:00
Martin Böttcher
777c9785a2 refactored background color handling (part of cell configuration), fixed colors searching on iPad, changed handling of theme change during multi-selection 2022-01-26 10:46:08 +01:00
Martin Böttcher
625fc41416 cell background and context menu react to Theme changes 2022-01-26 10:46:08 +01:00
Martin Böttcher
738cb3c198 home view cells and toolbar reacts to Theme change 2022-01-26 10:46:08 +01:00
Nora Trapp
a2f51dc4a3 Cleanup old feature flags 2022-01-24 10:53:55 -08:00
Martin Böttcher
d5d688f0c7 background and selected background of HomeViewCells got broken if reused 2022-01-21 10:29:47 +01:00
Eugene Bistolas
a60d89afdb Support emoji search in the emoji picker sheet 2021-12-10 13:03:55 -10:00
Matthew Chen
fc749b4d72 Change phone number. 2021-11-19 14:28:18 -03:00
Michelle Linington
13ad8dbac1 Add badge collection to conversation settings 2021-11-17 15:22:14 -08:00
Nora Trapp
7ecb98e935 PR Feedback 2021-11-10 11:16:52 -08:00
Nora Trapp
ba8154ff7b Fix conversation picker search bar styling 2021-11-10 11:10:18 -08:00
Michelle Linington
6105ee5a20 Better naming of size classes
Also fixes bug with EmojiReactorCell layout
2021-11-09 14:25:55 -08:00
Michelle Linington
dea35199b2 Clean up ConversationAvatarView data sources
Creates a special data source enum for ConversationAvatarView data
providers. Before, ContactCell and ConversationAvatarView used the data
source, neither applying to each perfectly
2021-11-09 14:25:55 -08:00
Michelle Linington
9f53832e14 Remove usage of ConversationAvatarView 2021-11-09 14:25:55 -08:00
Nora Trapp
08e8da9c5c Fix conversation picker search results 2021-11-08 17:16:53 -08:00
Matthew Chen
007a00a17b Add PhoneNumberUtil singleton. 2021-10-22 19:06:15 -03:00
Matthew Chen
a0efdc2e95 Respond to CR. 2021-10-21 09:21:33 -03:00
Matthew Chen
91ad7d1df7 Respond to CR. 2021-10-21 09:21:31 -03:00
Matthew Chen
5d780d1589 Apply script to normalize includes and imports. 2021-10-21 09:21:10 -03:00
Matthew Chen
7d0485661d Move window manager to Signal target. 2021-10-19 17:59:13 -03:00
Matthew Chen
57f8212495 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
Matthew Chen
25f015d8bc Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
Matthew Chen
21a8175795 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00