From 183b88d8e0b3e449841b43280ab02de15990e0bd Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Mon, 29 Jan 2024 13:15:22 -0800 Subject: [PATCH] should fix unlock button text and icon themeing --- lib/views/profilemgrview.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/profilemgrview.dart b/lib/views/profilemgrview.dart index 93806440..dd00ea59 100644 --- a/lib/views/profilemgrview.dart +++ b/lib/views/profilemgrview.dart @@ -360,7 +360,7 @@ class _ProfileMgrViewState extends State { Tooltip( message: AppLocalizations.of(context)!.tooltipUnlockProfiles, child: TextButton.icon( - icon: Icon(CwtchIcons.lock_open_24px, color: Provider.of(context).current().mainTextColor), + icon: Icon(CwtchIcons.lock_open_24px, color: Provider.of(context).current().defaultButtonTextColor), style: TextButton.styleFrom( minimumSize: Size(MediaQuery.of(context).size.width * 0.79, 80), maximumSize: Size(MediaQuery.of(context).size.width * 0.8, 80), @@ -369,7 +369,7 @@ class _ProfileMgrViewState extends State { label: Text( AppLocalizations.of(context)!.unlock, semanticsLabel: AppLocalizations.of(context)!.unlock, - style: TextStyle(fontWeight: FontWeight.bold), + style: TextStyle(fontWeight: FontWeight.bold, color: Provider.of(context).current().defaultButtonTextColor), ), onPressed: () { _modalUnlockProfiles();