|
|
@ -11,11 +11,11 @@ import org.jetbrains.anko.toast |
|
|
|
object SourceHelp { |
|
|
|
object SourceHelp { |
|
|
|
|
|
|
|
|
|
|
|
private val handler = Handler(Looper.getMainLooper()) |
|
|
|
private val handler = Handler(Looper.getMainLooper()) |
|
|
|
private val list18Plus: Array<String> by lazy { |
|
|
|
private val list18Plus by lazy { |
|
|
|
try { |
|
|
|
try { |
|
|
|
String(App.INSTANCE.assets.open("18PlusList.txt").readBytes()).splitNotBlank("\n") |
|
|
|
String(App.INSTANCE.assets.open("18PlusList.txt").readBytes()).splitNotBlank("\n") |
|
|
|
} catch (e: Exception) { |
|
|
|
} catch (e: Exception) { |
|
|
|
arrayOf() |
|
|
|
arrayOf<String>() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|