Page MenuHomePhabricator

Utilize default popover background arrow
Closed, ResolvedPublic

Description

Currently the app uses a custom popover background arrow (pointed). With the new reading themes, this would require a custom class for each theme since UIPopoverPresentationController takes a custom class and doesn't allow access to changing a given instance's properties (like the background color).

I'm proposing that we utilize the built-in popover background arrow (rounded) which can have any background color applied.

Before:

Simulator Screen Shot Jul 17, 2017, 3.09.47 PM.png (1×750 px, 631 KB)

Screen Shot 2017-07-17 at 12.18.08 PM.png (1×1 px, 1 MB)

After:

Simulator Screen Shot Jul 17, 2017, 3.08.31 PM.png (1×750 px, 645 KB)

Simulator Screen Shot Jul 17, 2017, 3.21.28 PM.png (2×1 px, 1 MB)

Event Timeline

JMinor added subscribers: cmadeo, JMinor.

Yeah, the custom one's a little "cleaner" looking to my eye, but I don't think it matters enough to justify custom development.

However, this is a purely visual issue, so ultimately @cmadeo call.

cmadeo added a subscriber: Mhurd.

@JoeWalsh if this is causing complexity for Reading themes I'm okay with utilizing the default popover arrow.

Sorry @Mhurd, I hadn't thought about Reading themes when we were discussing popovers.

I still like the aesthetics of ours better... oh well.