Commit Graph

520 Commits

Author SHA1 Message Date
Elaine
9ca6fdeba4
Fix member action sheet on iPad 2026-01-13 14:27:15 -05:00
Max Radermacher
fdcb84d5e3
Remove iOS 26 SDK checks 2026-01-08 14:30:28 -06:00
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Sasha Weiss
4533ec6f49
Show "Backup Subscription Already Redeemed" when enabling Backups 2025-12-30 11:00:11 -08:00
Elaine
f4cce2ac0d
Support automatic macro mode in the QR code scanner 2025-12-17 14:45:43 -05:00
Max Radermacher
8655c70987
Remove DataSource.isValidVideo 2025-12-01 18:59:37 -06:00
Max Radermacher
f686c56883
Remove SignalAttachment.isConvertible… properties 2025-11-24 13:52:39 -06:00
Sasha Weiss
4c6614668d
Asyncify UsernameQuerier, use ActionSheetDisplayableError 2025-11-20 09:59:42 -08:00
Elaine
75f6e77aa8
Refactor table sheet footers 2025-11-18 13:13:21 -05:00
Sasha Weiss
1cde05f9b1
Remove unnecessary code from ConversationSettings, OWSTableViewController2 2025-11-17 12:10:29 -08:00
Sasha Weiss
8b5fc9586b
Support canceling media restore on linked iPads 2025-11-11 16:22:40 -08:00
Elaine
9d8ff66a45
Glass member action sheet 2025-11-04 22:30:47 -05:00
Elaine
fc70e1d6b4 🔨🤭 2025-11-04 20:02:51 -05:00
Elaine
e7d6d7e600
Use native search bar and sheet for conversation picker 2025-11-04 19:08:19 -05:00
Elaine
d8163072ee
Reaction list sheet tweaks 2025-11-04 15:33:56 -05:00
Max Radermacher
3cd06fcfeb
Use ACIs for mention candidates 2025-10-30 12:36:34 -05:00
Elaine
af85280f05
Update sheet corner radii 2025-10-28 13:50:48 -04:00
Igor Solomennikov
5edf737ef0
Very unnecessary changes to OWSTableViewController2. 2025-10-27 12:45:11 -07:00
Igor Solomennikov
c0f1619acb
Fix section footer text too small in OWSTableVC2 subclasses.
Match default UIKit font - 'footnote`.

Also make it easier to configure section footers with links.
2025-10-27 12:43:18 -07:00
Max Radermacher
560cefae94
Rename FeatureFlags → BuildFlags 2025-10-27 13:27:11 -05:00
Igor Solomennikov
57b2c97688
Clean up use of linking text view.
• define new shared color - "link" for both UIColor and Color.
• set default color (UIColor.Signal.link) for links in LinkingTextView.
• do not set "UIColor.clear" as underline color for links. just omitting underline style does the job.
2025-10-25 00:30:20 -07:00
Igor Solomennikov
6dd2815fde
Unify backdropColor values.
This is the color of UI layer that dims content underneath when presenting something modally (eg action sheet).

Values were taken from UIDimmingView that UIKit uses to obscure content under modally presented view controller.
2025-10-24 14:43:08 -07:00
Sasha Weiss
37bb51e973
Make DisplayableError more generically reusable 2025-10-23 16:13:01 -07:00
Sasha Weiss
4a45dc95b8
Add SubscriptionConfigMgr, use to populate Backups-related remote values 2025-10-23 16:09:03 -07:00
Elaine
c64e06641f
Liquid Glass interactive sheets 2025-10-22 21:24:11 -04:00
Elaine
a7755d518b
Fix width on iPad forward contact picker 2025-10-22 16:03:55 -04:00
Igor Solomennikov
bcae1b32b4
Use headline font instead of body.semibold(). 2025-10-20 15:43:35 -05:00
Igor Solomennikov
55b8878cb4
Update donation screens for iOS 26.
All views underwent similar changes:

• use dynamic colors instead of Theme. colors; as a result themeDidChange() is not longer needed.
• use system-provided layout margins for things like titles, subtitles and buttons.
• use standard "large primary", "large secondary" etc button styles instead of OWSButton and OWSFlatButton.
• use capsule shape for donation amount fields on iOS 26.
• make currency selection dropdown button a bit larger so that it looks better.
• other various layout code improvements.
2025-10-20 13:05:46 -07:00
Igor Solomennikov
e1377c9aa9
OWSTableSheetViewController refactoring.
1. Instead of overriding updateTableContents(shouldReload:) in every subclass let the base class to do the reloading and subclasses will just provide contents for the OWSTableViewController2.
2. Remove unnecessary rebuilding of the OWSTableViewContents in didLayoutSubviews(). Do not reload if content doesn't change (it does not in any of the subclasses).
3. Instead of keeping a pre-configured UIStackView in case there's footer content to show - keep a UIView which is more lightweight. Subclasses just add their own footer content to that.
2025-10-17 13:10:59 -07:00
Igor Solomennikov
1d67d2fdea
Fix empty group member sheet in prod builds. 2025-10-17 12:53:00 -07:00
Igor Solomennikov
3618969472
Add convenience methods for setting up standard full-screen static views.
method to put provided views into a vertical stack view.
• method to put provided buttons into a vertical stack view.

All these would allow me to update reg flow screens to look the same without specifying layout metrics multiple times.
2025-10-15 12:34:17 -07:00
Igor Solomennikov
cefb46b871
Introduce OWSViewController.contentLayoutGuide.
Designed to define reference area for static content that works well across all devices and interface orientations.
2025-10-15 12:31:25 -07:00
Igor Solomennikov
78d035cceb Revert "Introduce OWSViewController.contentLayoutGuide."
This reverts commit 4d1c77b2f4.
2025-10-09 17:46:00 -07:00
Igor Solomennikov
4d1c77b2f4 Introduce OWSViewController.contentLayoutGuide.
Designed to define reference area for static content that works well across
all devices and interface orientations.
2025-10-09 17:44:58 -07:00
Sasha Weiss
03c3140e5d
Migrate "Backup Failed" Chat List sheet into FYISheetCoordinator 2025-10-07 09:22:17 -07:00
Elaine
42aa7cc648
Update bar button placement and behavior 2025-10-06 19:54:17 -04:00
Igor Solomennikov
65e02b1c45
Update verification code entry screen for iOS 26.
• adopt dynamic colors
• update layout code (no more PureLayout)
2025-10-06 16:46:25 -07:00
Igor Solomennikov
0c2ba1779b
Update HeroViewController to use new reusable large primary and secondary button styles.
Results in buttons having liquid glass effect on iOS 26 and no change on other iOS versions as those buttons were built the same way and up to the same spec.
2025-10-06 16:43:58 -07:00
Igor Solomennikov
af48dd5186
Workaround for dysfunctional UIKeyboardLayoutGuide on iOS 15.
• bring back keyboard frame tracking to OWSViewController if running on iOS 15.
• add our own layout guide to OWSViewController that is updated based on keyboard frame notifications on iOS 15; on newer iOS versions it's a proxy to view.keyboardLayoutGuide.
• use OWSViewController.keyboardLayoutGuide where needed.
• in media composer screen (not OWSVIewController subclass) we already track keyboard frame - use that to position bottom toolbar on iOS 15.

I have also discovered that profile avatar editing screen was somewhat broken on older (15, 16) iOS versions. Fixed that here.
2025-10-02 10:12:45 -07:00
Igor Solomennikov
89901f8a70
Fix crash presenting username education screen. 2025-09-29 21:39:07 -05:00
Elaine
496da00e79
Tweak action sheet styles 2025-09-29 13:32:28 -04:00
Igor Solomennikov
ac2a39c09a
Remove keyboard frame tracking from OWSViewController.
Let individual view controllers do the layout using (relatively) new UIView.keyboardLayoutGuide.
2025-09-23 12:03:32 -07:00
Igor Solomennikov
b0366644ab
Stop using InputAccessoryViewPlaceholder in text sharing screen.
The view is presented when sharing text from other apps.

The change is to use root view's keyboardLayoutGuide for constraints.
2025-09-23 12:01:30 -07:00
Igor Solomennikov
f4bd82dc34
Use solid color for "selected" background color of UITableViewCell.
revious color was semi-opaque black which meant the resulting color of a selected UITableViewCell's background was not something referenced in the code. Therefore it wasn't easily possible to re-use the color for non-UITableViewCell elements (e.g. creating UIButton whose colors should match UITableView's colors). With the opaque colors final color of the background of a selected cell is known and can be referenced directly.

Also removed Theme.tableCell2MultiSelectedBackgroundColor - use one color for both "single" and "multiple" selection modes.

Fix Calls tab not setting UITableViewCell properly to use custom cell background color in multi-select mode.
2025-09-16 15:34:05 -07:00
Elaine
dd37e1157c
Remove .formSheet from HeroSheetViewControllers 2025-09-16 14:09:01 -04:00
kate-signal
226d664b89
Clean up logs 2025-09-16 08:22:28 -04:00
Elaine
6379569a97
Fix header and footer height calculations 2025-09-15 18:34:42 -04:00
kate-signal
5d2065605a
Speculative fix for black camera in Linked Device Screen 2025-09-15 16:22:06 -04:00
kate-signal
e579a00f17
Additional logs for black Linked Device camera 2025-09-12 17:10:46 -04:00
Igor Solomennikov
138e2c39b5
Use 'primary fill' as background color for selected row in lists. 2025-09-10 21:24:11 -07:00