mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-23 03:01:02 +00:00
fix: add animations and fix some UI incoherences
This commit is contained in:
@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_i18n/widgets/I18nText.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:revanced_manager/theme.dart';
|
||||
|
||||
class MagiskButton extends StatelessWidget {
|
||||
final Function() onPressed;
|
||||
@@ -20,14 +19,12 @@ class MagiskButton extends StatelessWidget {
|
||||
onTap: onPressed,
|
||||
child: CircleAvatar(
|
||||
radius: 32,
|
||||
backgroundColor: isDark
|
||||
? Theme.of(context).colorScheme.secondary
|
||||
: const Color(0xffCBDFFC),
|
||||
backgroundColor: Theme.of(context).colorScheme.secondary,
|
||||
child: SvgPicture.asset(
|
||||
'assets/images/magisk.svg',
|
||||
color: isDark ? Colors.white70 : Colors.grey[900],
|
||||
height: 50,
|
||||
width: 50,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
height: 40,
|
||||
width: 40,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user