mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Merge branch 'develop' into fix/6371-save-file-name-conflicts
This commit is contained in:
+9
@@ -12,7 +12,16 @@ import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import kotlinx.collections.immutable.ImmutableList
|
||||
|
||||
/**
|
||||
* Renders the contents of a text file, used by the log viewer in the developer options.
|
||||
*/
|
||||
fun interface TextFileViewer {
|
||||
/**
|
||||
* Draws the file, one row per line.
|
||||
*
|
||||
* @param lines the already-read contents of the file.
|
||||
* @param modifier layout modifier for the container.
|
||||
*/
|
||||
@Composable
|
||||
fun Render(
|
||||
lines: ImmutableList<String>,
|
||||
|
||||
Reference in New Issue
Block a user