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(), future: locator<HomeViewModel>().hasManagerUpdates(),
initialData: false, initialData: false,
builder: (context, snapshot) => Opacity( builder: (context, snapshot) => Opacity(
opacity: snapshot.hasData && snapshot.data! ? 1.0 : 1.0, opacity: snapshot.hasData && snapshot.data! ? 1.0 : 0.5,
child: CustomMaterialButton( child: CustomMaterialButton(
isExpanded: false, isExpanded: false,
label: I18nText('latestCommitCard.updateButton'), label: I18nText('latestCommitCard.updateButton'),