Skip to content

Commit 47c1211

Browse files
committed
fix(android): use RiveLog.w instead of Log.w in inferFromMagicBytes
1 parent 05d00cf commit 47c1211

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

android/src/new/java/com/margelo/nitro/rive/ExperimentalAssetLoader.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ object ExperimentalAssetLoader {
134134
} else if (data.matchesAt(8, 0x57, 0x45, 0x42, 0x50)) {
135135
AssetType.IMAGE // WebP (WEBP)
136136
} else {
137-
Log.w(TAG, "Unknown RIFF asset, assuming IMAGE. Declare asset type explicitly to avoid this.")
137+
RiveLog.w(TAG, "Unknown RIFF asset, assuming IMAGE. Declare asset type explicitly to avoid this.")
138138
AssetType.IMAGE
139139
}
140140
else -> {
141-
Log.w(TAG, "Could not infer asset type from magic bytes, assuming IMAGE. Declare asset type explicitly to avoid this.")
141+
RiveLog.w(TAG, "Could not infer asset type from magic bytes, assuming IMAGE. Declare asset type explicitly to avoid this.")
142142
AssetType.IMAGE
143143
}
144144
}

0 commit comments

Comments
 (0)