Skip to content

Commit

Permalink
Merge pull request #2401 from nextcloud/fix/neon_framework/app-icon-s…
Browse files Browse the repository at this point in the history
…emantics
  • Loading branch information
provokateurin authored Aug 17, 2024
2 parents 619d391 + 5bd82e1 commit 2411736
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,18 @@ abstract class AppImplementation<T extends Bloc, R extends AppImplementationOpti
Builder(
builder: (context) {
final realSize = size ?? IconTheme.of(context).size;
return VectorGraphic(
final child = VectorGraphic(
width: realSize,
height: realSize,
colorFilter: ColorFilter.mode(color ?? Theme.of(context).colorScheme.primary, BlendMode.srcIn),
loader: AssetBytesLoader(
'assets/app.svg.vec',
packageName: '${id}_app',
),
semanticsLabel: NeonLocalizations.of(context).nextcloudLogo,
);

return ExcludeSemantics(
child: child,
);
},
);
Expand Down

This file was deleted.

0 comments on commit 2411736

Please sign in to comment.