feat: tweak UI

This commit is contained in:
afnzmn 2022-09-17 04:02:49 -04:00 committed by Ushie
parent a3dca8c142
commit bcf3b36b13
No known key found for this signature in database
GPG key ID: 0EF73F1CA38B2D5F
6 changed files with 42 additions and 32 deletions

View file

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