mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Add a way to tweak MAS url.
This commit is contained in:
committed by
Benoit Marty
parent
6ba4679908
commit
a76b55e580
+1
@@ -14,4 +14,5 @@ data class ElementWellKnown(
|
||||
val rageshakeUrl: String?,
|
||||
val brandColor: String?,
|
||||
val notificationSound: String?,
|
||||
val identityProviderAppScheme: String?,
|
||||
)
|
||||
|
||||
+2
@@ -32,4 +32,6 @@ data class InternalElementWellKnown(
|
||||
val brandColor: String? = null,
|
||||
@SerialName("notification_sound")
|
||||
val notificationSound: String? = null,
|
||||
@SerialName("idp_app_scheme")
|
||||
val identityProviderAppScheme: String? = null,
|
||||
)
|
||||
|
||||
+1
@@ -16,4 +16,5 @@ internal fun InternalElementWellKnown.map() = ElementWellKnown(
|
||||
rageshakeUrl = rageshakeUrl,
|
||||
brandColor = brandColor,
|
||||
notificationSound = notificationSound,
|
||||
identityProviderAppScheme = identityProviderAppScheme,
|
||||
)
|
||||
|
||||
+2
@@ -16,10 +16,12 @@ fun anElementWellKnown(
|
||||
rageshakeUrl: String? = null,
|
||||
brandColor: String? = null,
|
||||
notificationSound: String? = null,
|
||||
identityProviderAppScheme: String? = null,
|
||||
) = ElementWellKnown(
|
||||
registrationHelperUrl = registrationHelperUrl,
|
||||
enforceElementPro = enforceElementPro,
|
||||
rageshakeUrl = rageshakeUrl,
|
||||
brandColor = brandColor,
|
||||
notificationSound = notificationSound,
|
||||
identityProviderAppScheme = identityProviderAppScheme,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user