Refactor FeatureFlags.

This commit is contained in:
Greyson Parrelli
2024-06-12 13:57:07 -04:00
parent 39cb1c638e
commit 13f7a64139
76 changed files with 1059 additions and 1053 deletions

View File

@@ -82,7 +82,7 @@ class ShareRepository(context: Context) {
}
val media: List<Media> = mimeTypes.toList()
.take(FeatureFlags.maxAttachmentCount())
.take(FeatureFlags.maxAttachmentCount)
.map { (uri, mimeType) ->
val stream: InputStream = try {
appContext.contentResolver.openInputStream(uri)