mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-21 15:02:21 +02:00
fix(extensions): use adaptive icons for installed extension avatars
This commit is contained in:
1 parent
3fd1588154
commit
d96a9b56cd
1 file changed
+2
-1
@@ -2,6 +2,7 @@ import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:spotiflac_android/theme/app_tokens.dart';
|
||||
import 'package:spotiflac_android/widgets/app_icon.dart';
|
||||
import 'package:spotiflac_android/widgets/app_loading_indicator.dart';
|
||||
import 'package:spotiflac_android/widgets/settings_group.dart';
|
||||
|
||||
@@ -35,7 +36,7 @@ class ExtensionAvatar extends StatelessWidget {
|
||||
final tokens = context.tokens;
|
||||
final colorScheme = Theme.of(context).colorScheme;
|
||||
final borderRadius = tokens.borderRadiusCover;
|
||||
final fallback = Icon(
|
||||
final fallback = AppIcon(
|
||||
fallbackIcon,
|
||||
color: foreground ?? colorScheme.onPrimaryContainer,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user