fix: limit ocr overlay to images (#30116)
This commit is contained in:
@@ -101,7 +101,7 @@ class ViewerBottomBar extends ConsumerWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
OcrToggleButton(asset: asset),
|
if (asset.isImage) OcrToggleButton(asset: asset),
|
||||||
if (asset.isVideo) VideoControls(videoPlayerName: asset.heroTag),
|
if (asset.isVideo) VideoControls(videoPlayerName: asset.heroTag),
|
||||||
if (!isReadonlyModeEnabled)
|
if (!isReadonlyModeEnabled)
|
||||||
Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions),
|
Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions),
|
||||||
|
|||||||
Reference in New Issue
Block a user