mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02: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