fix(mobile): use storageIndicator setting for beta timeline (#20639)

* fix: use storageIndicator setting for beta timeline

* fix: reactively update the storage indicator icons when setting is changed

* Update drift_trash.page.dart

* override to bool for storageIndicator
This commit is contained in:
Brandon Wees 2025-08-04 17:25:58 -05:00 committed by GitHub
parent 990d9ba9a8
commit 750d21aeba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 21 additions and 14 deletions

View file

@ -14,7 +14,7 @@ class TimelineArgs {
final double maxHeight;
final double spacing;
final int columnCount;
final bool showStorageIndicator;
final bool? showStorageIndicator;
final bool withStack;
final GroupAssetsBy? groupBy;
@ -23,7 +23,7 @@ class TimelineArgs {
required this.maxHeight,
this.spacing = kTimelineSpacing,
this.columnCount = kTimelineColumnCount,
this.showStorageIndicator = false,
this.showStorageIndicator,
this.withStack = false,
this.groupBy,
});