mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-08-10 19:50:20 +02:00
Implement UI for setting profile pictures
This commit is contained in:
@@ -88,5 +88,8 @@ internal class HeadlessModule(private val appDir: File) {
|
||||
internal fun provideObjectMapper() = ObjectMapper()
|
||||
|
||||
@Provides
|
||||
internal fun provideFeatureFlags() = FeatureFlags { false }
|
||||
internal fun provideFeatureFlags() = object : FeatureFlags {
|
||||
override fun shouldEnableImageAttachments() = false
|
||||
override fun shouldEnableProfilePictures() = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,10 @@ internal class HeadlessTestModule(private val appDir: File) {
|
||||
internal fun provideObjectMapper() = ObjectMapper()
|
||||
|
||||
@Provides
|
||||
internal fun provideFeatureFlags() = FeatureFlags { false }
|
||||
internal fun provideFeatureFlags() = object : FeatureFlags {
|
||||
override fun shouldEnableImageAttachments() = false
|
||||
override fun shouldEnableProfilePictures() = false
|
||||
}
|
||||
|
||||
@Provides
|
||||
internal fun provideTestAvatarCreator() = TestAvatarCreator { null }
|
||||
|
||||
Reference in New Issue
Block a user