Clean up
This commit is contained in:
parent
b466ade6a1
commit
1dc6e5edb3
11 changed files with 44 additions and 70 deletions
|
|
@ -57,6 +57,7 @@ import io.element.android.libraries.matrix.ui.components.AvatarActionBottomSheet
|
|||
import io.element.android.libraries.matrix.ui.components.EditableAvatarView
|
||||
import io.element.android.libraries.permissions.api.PermissionsView
|
||||
import io.element.android.compound.theme.ElementTheme
|
||||
import io.element.android.libraries.designsystem.components.async.AsyncActionViewDefaults
|
||||
import io.element.android.libraries.ui.strings.CommonStrings
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
|
|
@ -149,7 +150,11 @@ fun EditUserProfileView(
|
|||
|
||||
AsyncActionView(
|
||||
async = state.saveAction,
|
||||
progressText = stringResource(R.string.screen_edit_profile_updating_details),
|
||||
progressDialog = {
|
||||
AsyncActionViewDefaults.ProgressDialog(
|
||||
progressText = stringResource(R.string.screen_edit_profile_updating_details),
|
||||
)
|
||||
},
|
||||
onSuccess = { onProfileEdited() },
|
||||
errorTitle = { stringResource(R.string.screen_edit_profile_error_title) },
|
||||
errorMessage = { stringResource(R.string.screen_edit_profile_error) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue