hilight unlock button on 0 profiles

This commit is contained in:
Dan Ballard 2021-07-14 16:12:45 -07:00
parent cac05cd4e6
commit 51d2e89e9a
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class _ProfileMgrViewState extends State<ProfileMgrView> {
// Unlock Profiles
actions.add(IconButton(
icon: Icon(CwtchIcons.lock_open_24px),
color: Provider.of<ProfileListState>(context).profiles.isEmpty ? Provider.of<Settings>(context).theme.defaultButtonColor() : Provider.of<Settings>(context).theme.mainTextColor(),
tooltip: AppLocalizations.of(context)!.tooltipUnlockProfiles,
onPressed: _modalUnlockProfiles,
));