diff --git a/auth/src/main/java/org/futo/circles/auth/feature/workspace/ConfigureWorkspaceFragment.kt b/auth/src/main/java/org/futo/circles/auth/feature/workspace/ConfigureWorkspaceFragment.kt index b6d644e60936d53c1a3dcd88e19bf1562fe75164..071bc2ba0aea567ce2da51476a781778943ea9fa 100644 --- a/auth/src/main/java/org/futo/circles/auth/feature/workspace/ConfigureWorkspaceFragment.kt +++ b/auth/src/main/java/org/futo/circles/auth/feature/workspace/ConfigureWorkspaceFragment.kt @@ -51,14 +51,14 @@ class ConfigureWorkspaceFragment : Fragment(R.layout.fragment_configure_workspac toolbar.title = getString(if (shouldValidate) R.string.validating_workspace else R.string.configure_workspace) - if (shouldValidate) startLoading(btbCreate) + if (shouldValidate) startLoading(btbConfigure) rvWorkspaceTasks.apply { adapter = tasksAdapter addItemDecoration(DividerItemDecoration(context, DividerItemDecoration.VERTICAL)) } - btbCreate.setOnClickListener { - startLoading(btbCreate) + btbConfigure.setOnClickListener { + startLoading(btbConfigure) viewModel.createWorkspace() } } @@ -77,7 +77,7 @@ class ConfigureWorkspaceFragment : Fragment(R.layout.fragment_configure_workspac }, error = { showError(it) - binding.btbCreate.setText(getString(R.string.retry)) + binding.btbConfigure.setText(getString(R.string.retry)) }) viewModel.validateWorkspaceResultLiveData.observeResponse(this, success = { configureWorkspaceListener?.onWorkspaceConfigured() }, diff --git a/auth/src/main/res/layout/fragment_configure_workspace.xml b/auth/src/main/res/layout/fragment_configure_workspace.xml index 254874400a10c4ed78740e9c7514b3e5e6a7ff6d..d364732adae65fa73562777c6696922bf581a7d1 100644 --- a/auth/src/main/res/layout/fragment_configure_workspace.xml +++ b/auth/src/main/res/layout/fragment_configure_workspace.xml @@ -65,13 +65,13 @@ app:layout_constraintStart_toStartOf="parent" /> <org.futo.circles.core.view.LoadingButton - android:id="@+id/btbCreate" + android:id="@+id/btbConfigure" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginHorizontal="36dp" android:layout_marginBottom="16dp" - android:text="@string/create" + android:text="@string/configure" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" /> diff --git a/auth/src/main/res/values/strings.xml b/auth/src/main/res/values/strings.xml index fb60af93c0414d86e43e3bc1e97d2a599a58c91a..d8fbe864450d30a3ef00547a89d50bf6afc032b3 100644 --- a/auth/src/main/res/values/strings.xml +++ b/auth/src/main/res/values/strings.xml @@ -153,6 +153,7 @@ Or, think about all of your friends across all of the places you\'ve ever lived. <br/><br/>Everyone in the group posts to the same timeline, and everyone in the group can see every post. <br/><br/>For example, you might want to create a group for your book club, or your sports team, or your scout troop. <br/><br/>If you want to share with lots of different people who <i>don\'t</i> all know each other, then you should invite those people to follow you in a <b>Circle</b> instead.]]></string> + <string name="configure">Configure</string> <plurals name="days"> <item quantity="one">%1$d day</item>