Skip to content

Commit de0a345

Browse files
committedDec 28, 2024·
fix: change font monospace to default
1 parent f4e0d28 commit de0a345

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
 

‎android/src/main/java/com/bleprinter/Utils.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class Utils {
2525
textSize = fontSize
2626
isAntiAlias = true
2727
typeface =
28-
if (bold) Typeface.create(Typeface.MONOSPACE, Typeface.BOLD) else Typeface.MONOSPACE
28+
if (bold) Typeface.create(Typeface.DEFAULT, Typeface.BOLD) else Typeface.DEFAULT
2929
}
3030

3131
if(align != null) {

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-ble-printer",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Print in thermal printer bluetooth",
55
"source": "./src/index.tsx",
66
"main": "./dist/commonjs/index.js",

‎react-native-ble-printer-0.1.2.tgz

15.7 KB
Binary file not shown.

‎react-native-ble-printer-0.1.3.tgz

15.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.