Skip to content

Commit

Permalink
chore: remove logs and empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
HayesGordon committed Jan 10, 2025
1 parent de4e684 commit cc84f03
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ios/RiveReactNativeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ class RiveReactNativeView: RCTView, RivePlayerDelegate, RiveStateMachineDelegate
}

private func loadResourceAsset(sourceAsset: String, path: String?, listener: @escaping (Data) -> Void) {

guard let splitSourceAssetName = splitFileNameAndExtension(fileName: sourceAsset),
let name = splitSourceAssetName.name,
let ext = splitSourceAssetName.ext else {
Expand Down
1 change: 0 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { FileAssetSource, RiveAssetPropType } from './types';
function parsePossibleSources(source: RiveAssetPropType): FileAssetSource {
if (typeof source === 'number') {
const resolvedAsset = Image.resolveAssetSource(source);
console.log(resolvedAsset);
if (resolvedAsset && resolvedAsset.uri) {
return { sourceAssetId: resolvedAsset.uri };
} else {
Expand Down

0 comments on commit cc84f03

Please sign in to comment.