Various fixes

This commit is contained in:
Michael Schättgen 2016-09-29 11:18:33 +02:00
parent 5eb2af0512
commit ed829d004b
4 changed files with 6 additions and 6 deletions

View file

@ -92,7 +92,7 @@ public class KeyProfileAdapter extends RecyclerView.Adapter<KeyProfileAdapter.Ke
// generate color based on a key (same key returns the same color), useful for list/grid views
int profileKeyColor = generator.getColor(profile.Name);
TextDrawable newDrawable = TextDrawable.builder().buildRound(profile.Name.substring(0, 1), profileKeyColor);
TextDrawable newDrawable = TextDrawable.builder().buildRound(profile.Name.substring(0, 1).toUpperCase(), profileKeyColor);
return newDrawable;
}
}