mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Refactor FeatureFlags.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user