This removes `showBlockSignalAccountActionSheet` and
`showUnblockSignalAccountActionSheet`, neither of which are used (nor
return any results with `git grep` after this change).
To hit this bug user would need to switch to "condensed" text style and input
text using suggestion bar above the on-screen keyboard. Each word from the
suggestion bar would be added twice.
Use NSTextStorage instead of NSMutableAttributed string when calculating text size.
NSTextStorage surprisingly provides more accurate text metrics when text contains
emojis and certain "complex" glyphs (eg Chinese hieroglyphs).
Also fix another minor issue that might cause text to be laid out differently
when being edited.
* Un-index deleted private story threads. Omit disabled private story threads from search results
* Fix bad debug assert on empty picker search results
* remove extra didRemove FTS check
Reporting an incoming call is an asynchronous operation, and we've
seen some cases where a hangup that arrives too soon after a ring
results in the call *not* ending from the OS's perspective. Explicitly
track this with a new "pending" state, during which cancelling a call
will get delayed. (There's nothing clever here for *how* to delay,
just a retry, because this isn't worth optimizing for.)
This avoids an issue where the NSE might decide to wake up the main
app to respond to an Offer, but then the RingRTC in the main app
decides the ring has already expired. We've been careful about
exposing new RingRTC APIs to the NSE because we don't want to dirty
too much memory, but this particular one should be safe.
This change may improve performance slightly but should have no other
user impact.
`myString.isEmpty` is faster than `myString.count == 0` or equivalent,
because computing `count` may require iterating over the string.
I tried to fix all occurrences of this.
Tested this by sending a message in a group and doing a full
re-registration, just in case I broke something there.
This updates `SSZipArchive` from 2.1.4 to 2.5.2.
Notably, we need a custom podspec because we need to lower its
deployment target.
Tested this by submitting debug logs successfully.
* Refactor PhotoGridItem to be more compile-time safe
* Add accessibilityLabel to items in PhotoLibrary
* run auto genstrings
* fix build issue
Co-authored-by: Meher Kasam <meheranandk@gmail.com>