Skip to content

Commit

Permalink
Migrate to AndroidX
Browse files Browse the repository at this point in the history
Fix Android 28 issue by ask for fine location permission before scanning

open toByteArray function in Converter.kt

#27
  • Loading branch information
mazenrashed committed Sep 13, 2020
1 parent 1436feb commit fd340d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package com.mazenrashed.printooth.data.converter
* Base class to convert a string into a byte array
*/
abstract class Converter {
fun toByteArray(input: String): ByteArray {
open fun toByteArray(input: String): ByteArray {
val text = convert(input)
return try {
var i = 0
Expand Down

0 comments on commit fd340d2

Please sign in to comment.