This commit is contained in:
Thibault Deckers 2024-10-30 20:05:27 +01:00
parent e0b3f92b65
commit ee6b34ad21
9 changed files with 9 additions and 9 deletions

View file

@ -169,7 +169,7 @@ class EntrySetActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAware
} }
void onActionSelected(BuildContext context, EntrySetAction action) { void onActionSelected(BuildContext context, EntrySetAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
// general // general
case EntrySetAction.configureView: case EntrySetAction.configureView:

View file

@ -49,7 +49,7 @@ class ExplorerActionDelegate with FeedbackMixin {
} }
void onActionSelected(BuildContext context, ExplorerAction action) { void onActionSelected(BuildContext context, ExplorerAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
case ExplorerAction.addShortcut: case ExplorerAction.addShortcut:
_addShortcut(context); _addShortcut(context);

View file

@ -139,7 +139,7 @@ class AlbumChipSetActionDelegate extends ChipSetActionDelegate<AlbumFilter> with
@override @override
void onActionSelected(BuildContext context, ChipSetAction action) { void onActionSelected(BuildContext context, ChipSetAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
// general // general
case ChipSetAction.createAlbum: case ChipSetAction.createAlbum:

View file

@ -42,7 +42,7 @@ class ChipActionDelegate with FeedbackMixin, VaultAwareMixin {
} }
void onActionSelected(BuildContext context, CollectionFilter filter, ChipAction action) { void onActionSelected(BuildContext context, CollectionFilter filter, ChipAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
case ChipAction.goToAlbumPage: case ChipAction.goToAlbumPage:
_goTo(context, filter, AlbumListPage.routeName, (context) => const AlbumListPage()); _goTo(context, filter, AlbumListPage.routeName, (context) => const AlbumListPage());

View file

@ -164,7 +164,7 @@ abstract class ChipSetActionDelegate<T extends CollectionFilter> with FeedbackMi
} }
void onActionSelected(BuildContext context, ChipSetAction action) { void onActionSelected(BuildContext context, ChipSetAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
// general // general
case ChipSetAction.configureView: case ChipSetAction.configureView:

View file

@ -80,7 +80,7 @@ class CountryChipSetActionDelegate extends ChipSetActionDelegate<LocationFilter>
@override @override
void onActionSelected(BuildContext context, ChipSetAction action) { void onActionSelected(BuildContext context, ChipSetAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
// single/multiple filters // single/multiple filters
case ChipSetAction.showCountryStates: case ChipSetAction.showCountryStates:

View file

@ -65,7 +65,7 @@ class TagChipSetActionDelegate extends ChipSetActionDelegate<TagFilter> {
@override @override
void onActionSelected(BuildContext context, ChipSetAction action) { void onActionSelected(BuildContext context, ChipSetAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
switch (action) { switch (action) {
// single/multiple filters // single/multiple filters
case ChipSetAction.delete: case ChipSetAction.delete:

View file

@ -186,7 +186,7 @@ class EntryActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAwareMix
} }
void onActionSelected(BuildContext context, EntryAction action) { void onActionSelected(BuildContext context, EntryAction action) {
reportService.log('$action'); reportService.log('$runtimeType handles $action');
final targetEntry = _getTargetEntry(context, action); final targetEntry = _getTargetEntry(context, action);
switch (action) { switch (action) {

View file

@ -92,7 +92,7 @@ class EntryInfoActionDelegate with FeedbackMixin, PermissionAwareMixin, EntryEdi
} }
Future<void> onActionSelected(BuildContext context, AvesEntry targetEntry, CollectionLens? collection, EntryAction action) async { Future<void> onActionSelected(BuildContext context, AvesEntry targetEntry, CollectionLens? collection, EntryAction action) async {
await reportService.log('$action'); await reportService.log('$runtimeType handles $action');
_eventStreamController.add(ActionStartedEvent(action)); _eventStreamController.add(ActionStartedEvent(action));
switch (action) { switch (action) {
// general // general