Commit Graph

62 Commits

Author SHA1 Message Date
kate-signal
589d37d607
release notes wallpaper 2026-05-12 18:11:45 -04:00
sashaweiss-signal
57e29caed0 Fix header background color in AvatarSettingsViewController 2026-03-03 17:18:35 -08:00
Max Radermacher
7f0e73ab16
Run swiftformat . using v0.59.0 2026-01-28 14:16:20 -06:00
Elaine
df7599b107
Use dynamic colors for table headers and footers 2026-01-15 21:28:44 -05:00
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
1cde05f9b1
Remove unnecessary code from ConversationSettings, OWSTableViewController2 2025-11-17 12:10:29 -08: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
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
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
Elaine
42aa7cc648
Update bar button placement and behavior 2025-10-06 19:54:17 -04: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
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
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
6379569a97
Fix header and footer height calculations 2025-09-15 18:34:42 -04:00
Igor Solomennikov
138e2c39b5
Use 'primary fill' as background color for selected row in lists. 2025-09-10 21:24:11 -07:00
Sasha Weiss
7acf25d22b
Re-add configuring cell backgrounds to OWSTableItem.configureCell 2025-08-29 13:26:25 -07:00
sashaweiss-signal
8446c03ebb Remove noisy debug log line 2025-08-27 14:03:24 -07:00
Elaine
971d0f6e60
Use native styles for OWSTableViewController2 2025-08-26 20:26:57 -04:00
Elaine
571a8456b4
Remove custom header/footer size canary 2025-08-25 11:34:12 -04:00
Elaine
b3faea8696
Add SDK check with iOS 26 checks 2025-08-13 12:02:27 -04:00
Elaine
cca707a194
Update table max width calculation again lol 2025-08-11 16:36:12 -04:00
Elaine
819c16297f
Update table max width calculation 2025-08-09 13:53:13 -04:00
Elaine
eb6c9d7aac
Update iOS 26 navigation bar style 2025-07-25 17:05:54 -04:00
Elaine
c9a4e0dbfe
Remove OWSTableViewController 2025-07-09 23:07:28 -04:00
Elaine
7aa5ccbe56
Update app colors 2024-11-05 15:02:19 -07:00
Elaine
317226629c
Allow call link name to be edited in-call 2024-10-01 16:49:11 -06:00
Adam Sharp
b89c8f1556
Avoid a couple more owsFailDebug assertions 2024-09-23 10:58:48 -04:00
Sasha Weiss
7bbc063135
Avoid a few owsFailDebugs 2024-09-20 13:31:02 -07:00
Elaine
bd3413b3eb
Sync Nicknames with Storage Service 2024-04-08 17:35:31 -06:00
Elaine
0887f70f1e
Streamline using a text view in a table view 2024-03-26 10:55:28 -06:00
Max Radermacher
8910fc4d5b
Move around files in SignalUI/ and the share ext 2024-03-25 14:22:28 -05:00
Igor Solomennikov
2b43b1fef9
Convert OWSTableViewController and related classes to Swift.
Also convert OWSTableContents, OWSTableSection and OWSTableItem to Swift.

The only subclass of OWSTableViewController was DebugUITableViewController which has to be converted to Swift as well.

I also changed OWSTableViewController to be a subclass of OWSViewController (more modern and all in Swift) instead of OWSViewControllerObjc.
2023-05-08 19:33:03 -07:00
Igor Solomennikov
6dd3d9a6f2
Convert all convenience methods in UIFont+OWS to Swift. 2023-04-18 17:14:51 -07:00
Max Radermacher
a4c8f8bd7a
Fix assorted layout issues with PIN setup views 2023-04-12 20:10:58 -07:00
Sasha Weiss
e4bf99aee6
Dynamic updates when possible in username selection 2023-02-07 09:45:58 -08:00
Max Radermacher
015803297a
Add .notAllowed to editingAuthorization for iPad 2023-02-01 11:33:37 -08:00
Sasha Weiss
b5807284e8
Add tappable "Learn More" link to username selection explanation text 2023-01-27 16:01:43 -08:00
Sasha Weiss
1126c98f19
"Select a username" UX 2023-01-26 11:38:21 -08:00
Harry
33e686319c
Use iOS 13+ UINavigationBarAppearance for navbar styling
* Use iOS 13+ UINavigationBarAppearance for navbar styling

* various individual view controller navbar style tweaks and fixes

* Remove unused navigation bar styles

* rename 'default' style blur

* Apply blur style to the UIVisualEffectView generated by UINavigationBarAppearance

* Use iOS 12 navbar blur method on iOS 13 since its bugged

* Fix on iOS 15, use old method on iOS 14

* PR comment nits

* explicitly invalidate KVO observers
2022-12-13 16:17:41 -08:00
Max Radermacher
f111a7f162
Swiftify DomainFrontingCountryViewController
Also:
* Remove OWSTableViewController2.useNewStyle
* Remove useThemeBackgroundColors
* Remove unused table view bg/cell colors
2022-12-06 12:53:45 -08:00
Harry
520faa95df
Refactor OWSNavigationController
* make shouldCancelNavigationBack a var

* rename OWSNavigationView->OWSNavigationChildController

* forward delegate calls to OWSNavigationController

* apply theme and style to OWSNavigationBar consistently

fix themeing on gif picker controller

* Use topPinned navbar position. Size the blur effect view using the background view

* Use fade animation when hiding the navigation bar

* fix issues with reduced transparency setting

* pr feedback
2022-11-03 16:40:47 -07:00
Harry
c745f9a6ae
Refactor OWSViewController
* Remove the useless shouldUseTheme

* Remove the useless shouldBottomViewReserveSpaceForKeyboard

* Add ViewControllerLifecycle

* Use more sensible constraints for keyboard layouts

* Consistent theme updates. themeDidChange is what you subclass, applyTheme is each class' internal application of theme changes, if needed

* Add app lifecycle hooks

* pr feedback

* pass through touches on the keyboard layout view(s)

* fix lint
2022-11-03 13:12:13 -07:00