forked from melod1n/fast-messenger
refactor(logging): introduce custom FastLogger and replace direct Android logging
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package dev.meloda.fast.model.api.data
|
||||
|
||||
import android.util.Log
|
||||
|
||||
enum class AttachmentType(var value: String) {
|
||||
UNKNOWN("unknown"),
|
||||
PHOTO("photo"),
|
||||
@@ -42,10 +40,6 @@ enum class AttachmentType(var value: String) {
|
||||
it.value == value
|
||||
} ?: UNKNOWN
|
||||
|
||||
if (parsedValue == UNKNOWN) {
|
||||
Log.e("AttachmentType", "Unknown attachment type: $value")
|
||||
}
|
||||
|
||||
return parsedValue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user