Fix fonts in floating keyboards
This commit is contained in:
@@ -26,6 +26,7 @@ import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Typeface;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.LayoutRes;
|
||||
import android.support.annotation.NonNull;
|
||||
@@ -83,6 +84,8 @@ public abstract class BaseFunctionFragment extends BaseDialogFragment implements
|
||||
@Inject
|
||||
Keyboard keyboard;
|
||||
@Inject
|
||||
Typeface typeface;
|
||||
@Inject
|
||||
FunctionsRegistry functionsRegistry;
|
||||
@Inject
|
||||
VariablesRegistry variablesRegistry;
|
||||
@@ -497,6 +500,12 @@ public abstract class BaseFunctionFragment extends BaseDialogFragment implements
|
||||
return keyboard.isVibrateOnKeypress();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public Typeface getTypeface() {
|
||||
return typeface;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done() {
|
||||
keyboardWindow.hide();
|
||||
|
Reference in New Issue
Block a user