Signal-iOS/Signal
Evan Hahn 4da042c1d5
Clean up database corruption storage code
_This change should have no user impact._

The database corruption flag lives on `UserDefaults`. Currently, this
flag is controlled through `SSKPreferences`, but I kinda think that's
the wrong place—database corruption isn't really a user preference.

This moves it into its own file, tests it, and [drops booleans in favor
of an enum][0]. I think this is useful on its own, but also prepares us
for an upcoming change.

[0]: https://www.luu.io/posts/dont-use-booleans
2022-09-23 18:19:02 +00:00
..
AudioFiles Don't use CallKit for video calls received while the app is active 2020-08-17 15:41:10 -07:00
Images.xcassets Text story composer 2022-09-12 11:38:28 -07:00
Lottie Render 'Partially Sent' story failure state 2022-09-18 00:00:49 -07:00
NSE-Images.xcassets Cache built avatars to disk for NSE 2022-02-14 11:59:13 -08:00
Settings.bundle SignalServiceKit: no longer a separate pod 2022-08-05 16:14:15 -05:00
Sounds Autoplay subsequent audio messages 2021-04-29 18:01:21 -07:00
src Clean up database corruption storage code 2022-09-23 18:19:02 +00:00
test Improvements to PNG transcoding 2022-09-13 23:22:50 +00:00
translations Update translations 2022-09-21 15:57:37 -07:00
.swiftlint.yml
iTunesArtwork@3x.png
main.m Call UIApplicationMain() outside of autoreleasepool 2021-04-08 13:35:17 -07:00
Signal-AppStore.entitlements Derive bundle ID from an Xcode build setting 2022-09-21 18:10:42 +00:00
Signal-Info.plist "Bump build to 5.56.0.2." (nightly-09-23-2022) 2022-09-23 04:00:21 -07:00
Signal-Prefix.pch Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Signal.entitlements Derive bundle ID from an Xcode build setting 2022-09-21 18:10:42 +00:00
SignalTSan.supp
SignalUBSan.supp