1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 01:24:24 +00:00

Rename CreateRoom to ConfigureRoom

This commit is contained in:
Steffo 2024-01-13 10:32:47 +01:00
parent d91d0cfc5f
commit 22f0d0fc8c
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
4 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContract
import eu.steffo.twom.composables.createroom.CreateRoomScaffold
import eu.steffo.twom.composables.configureroom.CreateRoomScaffold
class ConfigureRoomActivity : ComponentActivity() {

View file

@ -1,4 +1,4 @@
package eu.steffo.twom.composables.createroom
package eu.steffo.twom.composables.configureroom
import android.net.Uri
import androidx.compose.foundation.layout.Column
@ -30,7 +30,7 @@ import eu.steffo.twom.utils.BitmapUtilities
@Composable
@Preview(showBackground = true)
fun CreateRoomForm(
fun ConfigureRoomForm(
modifier: Modifier = Modifier,
onSubmit: (name: String, description: String, avatarUri: Uri?) -> Unit = { _, _, _ -> },
) {

View file

@ -1,4 +1,4 @@
package eu.steffo.twom.composables.createroom
package eu.steffo.twom.composables.configureroom
import android.app.Activity
import android.content.Intent
@ -37,7 +37,7 @@ fun CreateRoomScaffold() {
CreateActivityTopBar()
},
content = {
CreateRoomForm(
ConfigureRoomForm(
modifier = Modifier.padding(it),
onSubmit = { name: String, description: String, avatarUri: Uri? ->
submitActivity(name, description, avatarUri)

View file

@ -1,4 +1,4 @@
package eu.steffo.twom.composables.createroom
package eu.steffo.twom.composables.configureroom
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Text