hilight unlock button on 0 profiles #120

Merged
sarah merged 1 commits from hilightUnlock into trunk 2021-07-14 23:30:41 +00:00
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,
));