fix: use a prettier contributors card background color

This commit is contained in:
Alberto Ponces 2022-09-03 15:28:58 +01:00
parent fee8171ec0
commit d46f08a727

View File

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:github/github.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:revanced_manager/theme.dart';
import 'package:url_launcher/url_launcher.dart';
class ContributorsCard extends StatefulWidget {
@ -39,7 +40,9 @@ class _ContributorsCardState extends State<ContributorsCard> {
margin: const EdgeInsets.all(8.0),
padding: const EdgeInsets.all(4.0),
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.tertiary,
color: isDark
? Theme.of(context).colorScheme.primary
: Theme.of(context).navigationBarTheme.backgroundColor!,
borderRadius: BorderRadius.circular(12),
),
height: widget.height,