mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Add defaults for script/text font pairings and guessing of script based on body contents.
Co-authored-by: Alex Hart <alex@signal.org>
This commit is contained in:
@@ -50,7 +50,7 @@ final class WallpaperCropViewModel extends ViewModel {
|
||||
{
|
||||
SignalExecutors.BOUNDED.execute(
|
||||
() -> {
|
||||
Bitmap bitmap = model.render(context, size, FontTypefaceProvider.INSTANCE);
|
||||
Bitmap bitmap = model.render(context, size, new FontTypefaceProvider());
|
||||
try {
|
||||
ChatWallpaper chatWallpaper = repository.setWallPaper(BitmapUtil.toWebPByteArray(bitmap));
|
||||
callback.onComplete(chatWallpaper);
|
||||
|
||||
Reference in New Issue
Block a user