diff --git a/lib/view/artwork_common_widget.dart b/lib/view/artwork_common_widget.dart index b69c03223..78d16f5f0 100644 --- a/lib/view/artwork_common_widget.dart +++ b/lib/view/artwork_common_widget.dart @@ -431,14 +431,10 @@ INFTRenderingWidget buildRenderingWidget( Function({int? time})? onDispose, FocusNode? focusNode, Widget? loadingWidget, - String? userAgent, }) { String mimeType = assetToken.getMimeType; - final version = injector().getVersionInfo(); final renderingWidget = typesOfNFTRenderingWidget(mimeType); - userAgent ??= "user_agent".tr(namedArgs: {"version": version.toString()}); - renderingWidget.setRenderWidgetBuilder(RenderingWidgetBuilder( previewURL: attempt == null ? assetToken.getPreviewUrl() @@ -453,7 +449,6 @@ INFTRenderingWidget buildRenderingWidget( skipViewport: assetToken.scrollable ?? false, isMute: isMute, focusNode: focusNode, - userAgent: userAgent, )); return renderingWidget; diff --git a/pubspec.lock b/pubspec.lock index 2b3103cea..a0fbb6806 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1743,8 +1743,8 @@ packages: dependency: "direct main" description: path: "." - ref: dd4cc05389e0df0e7a7138349013ac94a302a63b - resolved-ref: dd4cc05389e0df0e7a7138349013ac94a302a63b + ref: "621aacb84c12f41d5d6dce95fa6306aecf486231" + resolved-ref: "621aacb84c12f41d5d6dce95fa6306aecf486231" url: "https://github.com/autonomy-system/nft-rendering.git" source: git version: "1.0.9" diff --git a/pubspec.yaml b/pubspec.yaml index d5fda6f88..28935948b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -79,7 +79,7 @@ dependencies: nft_rendering: git: url: https://github.com/autonomy-system/nft-rendering.git - ref: dd4cc05389e0df0e7a7138349013ac94a302a63b + ref: 621aacb84c12f41d5d6dce95fa6306aecf486231 onesignal_flutter: ^3.3.0 open_settings: ^2.0.2 overlay_support: ^2.0.0