fix: Disabled opacity of Manager's update button had a typo

This commit is contained in:
Alberto Ponces 2022-09-05 15:31:22 +01:00
parent de59641ede
commit 4915e9b921

View file

@ -85,7 +85,7 @@ class _LatestCommitCardState extends State<LatestCommitCard> {
future: locator<HomeViewModel>().hasManagerUpdates(),
initialData: false,
builder: (context, snapshot) => Opacity(
opacity: snapshot.hasData && snapshot.data! ? 1.0 : 1.0,
opacity: snapshot.hasData && snapshot.data! ? 1.0 : 0.5,
child: CustomMaterialButton(
isExpanded: false,
label: I18nText('latestCommitCard.updateButton'),