Use string resource

This commit is contained in:
Florian Renaud 2023-03-29 10:13:36 +02:00
parent b82ee66855
commit 014d14ff79
2 changed files with 2 additions and 1 deletions

View file

@ -96,7 +96,7 @@ fun CreateRoomRootView(
}
if (state.startDmAction is Async.Loading) {
ProgressDialog(text = "Creating room...")
ProgressDialog(text = stringResource(id = StringR.string.common_creating_room))
}
}

View file

@ -48,6 +48,7 @@
<string name="common_about">"About"</string>
<string name="common_audio">"Audio"</string>
<string name="common_bubbles">"Bubbles"</string>
<string name="common_creating_room">"Creating room…"</string>
<string name="common_decryption_error">"Decryption error"</string>
<string name="common_developer_options">"Developer options"</string>
<string name="common_edited_suffix">"(edited)"</string>