Media Gallery
This commit is contained in:
parent
61805646c8
commit
28725a364f
69 changed files with 3822 additions and 56 deletions
|
|
@ -61,3 +61,11 @@ fun String.replacePrefix(oldPrefix: String, newPrefix: String): String {
|
|||
this
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Surround with brackets.
|
||||
*/
|
||||
fun String.withBrackets(prefix: String = "(", suffix: String = ")"): String {
|
||||
return "$prefix$this$suffix"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright 2024 New Vector Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
* Please see LICENSE in the repository root for full details.
|
||||
*/
|
||||
|
||||
package io.element.android.libraries.core.preview
|
||||
|
||||
val loremIpsum = """
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut la
|
||||
bore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
|
||||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate v
|
||||
elit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proide
|
||||
nt, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
""".trimIndent()
|
||||
Loading…
Add table
Add a link
Reference in a new issue