mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
* Replace Hard-Coded strings with those from strings.xml.
This commit is contained in:
parent
0349e3e069
commit
864ecad2e7
6 changed files with 15 additions and 8 deletions
|
|
@ -7,6 +7,7 @@ import android.webkit.WebViewClient;
|
|||
import android.widget.Toast;
|
||||
|
||||
import fr.free.nrw.commons.BuildConfig;
|
||||
import fr.free.nrw.commons.R;
|
||||
import fr.free.nrw.commons.theme.BaseActivity;
|
||||
import timber.log.Timber;
|
||||
|
||||
|
|
@ -39,7 +40,7 @@ public class SignupActivity extends BaseActivity {
|
|||
Timber.d("Overriding URL %s", url);
|
||||
|
||||
Toast toast = Toast.makeText(SignupActivity.this,
|
||||
"Account created!", Toast.LENGTH_LONG);
|
||||
R.string.account_created, Toast.LENGTH_LONG);
|
||||
toast.show();
|
||||
// terminate on task completion.
|
||||
finish();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue