Skip to content

Commit

Permalink
bump flutter version (#309)
Browse files Browse the repository at this point in the history
* bump flutter version

* fix warning

* disable publish to beta for main branch
  • Loading branch information
boyan01 authored Sep 4, 2024
1 parent 291343b commit 99fa6da
Show file tree
Hide file tree
Showing 27 changed files with 15,968 additions and 538 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,3 @@ jobs:
- name: Build APP
run: flutter build web --web-renderer html --release --base-href /mixin-wallet/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web/
force_orphan: true

8 changes: 4 additions & 4 deletions lib/db/dao/address_dao.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AddressDao extends DatabaseAccessor<MixinDatabase>
with _$AddressDaoMixin {
AddressDao(super.db);

Future<List<Addresses>> getAll() => select(db.addresses).get();
Future<List<AddressesData>> getAll() => select(db.addresses).get();

Future<void> insertAllOnConflictUpdate(List<sdk.Address> addresses) =>
batch((batch) => batch.insertAll(
Expand All @@ -35,17 +35,17 @@ class AddressDao extends DatabaseAccessor<MixinDatabase>
mode: InsertMode.insertOrReplace,
));

Future<void> deleteAddress(Addresses address) =>
Future<void> deleteAddress(AddressesData address) =>
delete(db.addresses).delete(address);

Selectable<Addresses> addressesByAssetId(String assetId) =>
Selectable<AddressesData> addressesByAssetId(String assetId) =>
select(db.addresses)
..where((tbl) => tbl.assetId.equals(assetId))
..orderBy([
(tbl) =>
OrderingTerm(expression: tbl.updatedAt, mode: OrderingMode.desc)
]);

Selectable<Addresses> addressesById(String addressId) =>
Selectable<AddressesData> addressesById(String addressId) =>
select(db.addresses)..where((tbl) => tbl.addressId.equals(addressId));
}
2 changes: 1 addition & 1 deletion lib/db/dao/chain_dao.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99fa6da

Please sign in to comment.