mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-03-10 10:27:03 -04:00
use a resource string instead of hardcoded value
This commit is contained in:
@@ -58,7 +58,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
final String text = notesView.getText().toString().trim();
|
||||
prefs.edit().putString(Constants.TEXT, text).apply();
|
||||
|
||||
Toast.makeText(this, "Text saved", Toast.LENGTH_SHORT).show();
|
||||
Toast.makeText(this, getResources().getString(R.string.text_saved), Toast.LENGTH_SHORT).show();
|
||||
hideKeyboard();
|
||||
updateWidget();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user