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:
parent
d91d0cfc5f
commit
22f0d0fc8c
4 changed files with 6 additions and 6 deletions
|
@ -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() {
|
||||
|
|
|
@ -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 = { _, _, _ -> },
|
||||
) {
|
|
@ -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)
|
|
@ -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
|
Loading…
Reference in a new issue