fixed integration tests

This commit is contained in:
Vadim 2024-03-17 18:58:47 +01:00
parent 17c454e4c6
commit e3306ab3ba
2 changed files with 4 additions and 6 deletions

View file

@ -19,10 +19,8 @@ jobs:
with:
submodules: recursive
- name: Connect private iap package
uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }}
- name: Override iap package with stub
run: bash ./.github/scripts/stub_iap.sh
- name: Restore secrets
run: |

View file

@ -54,10 +54,10 @@ class IAPProducts extends InheritedModel<IAPProductType> {
}
@override
bool updateShouldNotify(IAPProducts oldWidget) => false;
bool updateShouldNotify(IAPProducts oldWidget) => true;
@override
bool updateShouldNotifyDependent(IAPProducts oldWidget, Set<IAPProductType> dependencies) => false;
bool updateShouldNotifyDependent(IAPProducts oldWidget, Set<IAPProductType> dependencies) => true;
IAPProduct? _findProduct(IAPProductType type) {
try {