fix: notification list blank on click
This commit is contained in:
parent
12c77604f1
commit
e00bbb2d8e
5 changed files with 38 additions and 13 deletions
|
@ -2,6 +2,7 @@ package ani.dantotsu.util
|
|||
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.util.Log
|
||||
import androidx.core.content.FileProvider
|
||||
import ani.dantotsu.BuildConfig
|
||||
import ani.dantotsu.connections.crashlytics.CrashlyticsInterface
|
||||
|
@ -78,7 +79,7 @@ object Logger {
|
|||
fun log(message: String) {
|
||||
val trace = Thread.currentThread().stackTrace[3]
|
||||
loggerExecutor.execute {
|
||||
if (file == null) println(message)
|
||||
if (file == null) Log.d("Internal Logger", "$message)")
|
||||
else {
|
||||
val className = trace.className
|
||||
val methodName = trace.methodName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue