Skip to content

Commit

Permalink
Display font errors longer
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed Jun 7, 2022
1 parent 2aca63a commit 5877d60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ public void onFontDelete(int position, FontItem item) {
@Override
public void onAddFontExistsError(String name) {
String message = getString(R.string.settings_home_laf_appearance_fonts_error_exists, name);
Toast.makeText(requireContext(), message, Toast.LENGTH_SHORT).show();
Toast.makeText(requireContext(), message, Toast.LENGTH_LONG).show();
}

@Override
public void onAddFontEmptyNameError() {
Toast.makeText(requireContext(), R.string.settings_home_laf_appearance_fonts_error_empty, Toast.LENGTH_SHORT).show();
Toast.makeText(requireContext(), R.string.settings_home_laf_appearance_fonts_error_empty, Toast.LENGTH_LONG).show();
}

private void showAddDialog(@Nullable Uri result) {
Expand Down

0 comments on commit 5877d60

Please sign in to comment.