mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Disabled opacity of Manager's update button had a typo
This commit is contained in:
parent
de59641ede
commit
4915e9b921
@ -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'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user