Commit Graph

24 Commits

Author SHA1 Message Date
Michelle Linington
37a9ce213f Add darkTranslucent styling option for SafetyNumberConfirmationSheet 2020-12-08 11:16:25 -08:00
Michelle Linington
bbe7399841 PR feedback and bug fixes
Most significantly, corner masking wasn't working correctly pre-iOS 14.
This is because UIStackView's backing layer doesn't support
-cornerRadius. To work around this, we add the stack view to a wrapper
view. The corner radius is applied to that instead with masksToBounds
set true.
2020-12-07 15:13:31 -08:00
Michelle Linington
a2117a58fb Add new translucentDark style for ActionSheets
Adopted in GroupCallViewController. This changes how
ActionSheetController is built to have a single backdrop view. In the
translucentDark style, this backdrop is a UIVisualEffectView.

Creates a new enum, Theme.ActionSheet, to track different color
behaviors for action sheet themes.
2020-12-07 15:13:31 -08:00
Matthew Chen
bcc7995a7b Migrate groups from v1 to v2, part 3.
* Pull out GroupMigrationActionSheet.
* Add group migration action sheets.
* Make changes to enable testing migrations.
* Rewrite banners in Swift.
* Refine group migration logic; add support for testability.
2020-10-30 09:06:40 -03:00
Matthew Chen
a66f2cfc56 Migrate groups from v1 to v2, part 2.
* Add legacy group upgrade action sheet.
* Add 'group update info messages' around migrations.
* Add new limits around group size.
* Rename migration modes to "manual", "auto-migration."
* Add legacy groups action sheets.
* Try to fill in missing UUIDs before migrating groups.
* Ignore "known unregistered" users during group migrations.
2020-10-30 09:05:13 -03:00
Matthew Chen
096ed67bb9 Convert font style convenience methods to properties. 2020-10-06 13:09:45 -03:00
Nora Trapp
413aa689f0 Fix compilation with Xcode 12 2020-10-05 14:32:06 -07:00
Nora Trapp
bfada1c784 Fix action sheet max-width on smaller displays 2020-09-29 11:35:56 -07:00
Matthew Chen
b2e9111ddd Add group invite link action sheet. 2020-09-01 17:25:02 -03:00
Nora Trapp
fc63f37329 New safety number sheet 2020-06-25 19:04:12 -03:00
Nora Trapp
e480d75029 Adjust ActionSheetController dark theme style 2020-06-25 19:04:12 -03:00
Nora Trapp
29fb38c9ad New permission reminders 2020-06-08 15:28:25 -07:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Matthew Chen
b42f1968cc Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Matthew Chen
b5c069ed95 Clean up VC initializers. 2020-04-08 09:26:25 -03:00
Matthew Chen
c7df10eb36 Apply CGSize(square:). 2020-04-06 11:34:21 -03:00
Matthew Chen
e097239dcd Sketch out revised "new group" view. 2020-03-17 10:31:20 -03:00
Nora Trapp
ddcc833cc3 Reactions detail view 2019-12-03 15:26:01 -08:00
Nora Trapp
54e509352e Fix file sharing for iPad 2019-11-06 11:51:12 -08:00
Nora Trapp
c1d937e46c Fix action sheet orientation changes on iOS 10 and over form sheets 2019-10-28 14:44:25 -07:00
Nora Trapp
d8aecdb1ed PR Feedback. 2019-10-28 14:44:24 -07:00
Nora Trapp
d01a914ee0 Allow tapping action sheet backdrop to cancel 2019-10-28 14:44:24 -07:00
Nora Trapp
90139acf67 New member action sheet for groups 2019-10-28 14:44:24 -07:00
Nora Trapp
65d54e7282 UIAlertController -> ActionSheetController 2019-10-28 14:43:59 -07:00