re-add trailing commas
This commit is contained in:
@@ -35,6 +35,6 @@ class BangSourceService extends _$BangSourceService {
|
||||
return bang;
|
||||
}).toList(),
|
||||
);
|
||||
}, exceptionHandler: handleHttpError);
|
||||
}, exceptionHandler: handleHttpError,);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ EquatableCollection<Map<String, TabState>> availableTabStates(
|
||||
return EquatableCollection({
|
||||
for (final tabId in availableTabs.collection)
|
||||
if (tabStates.containsKey(tabId)) tabId: tabStates[tabId]!,
|
||||
}, immutable: true);
|
||||
}, immutable: true,);
|
||||
}
|
||||
|
||||
@Riverpod()
|
||||
|
||||
+1
-1
@@ -261,7 +261,7 @@ class WebPageDialog extends HookConsumerWidget {
|
||||
|
||||
await Share.shareXFiles([
|
||||
file,
|
||||
], subject: precachedInfo?.title);
|
||||
], subject: precachedInfo?.title,);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ class CreateTabSheetWidget extends HookConsumerWidget {
|
||||
onActiveToolChanged?.call(KagiTool.values[initialIndex]);
|
||||
});
|
||||
return null;
|
||||
}, [initialIndex]);
|
||||
}, [initialIndex],);
|
||||
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
+2
-2
@@ -294,7 +294,7 @@ class ViewTabsSheetWidget extends HookConsumerWidget {
|
||||
}
|
||||
|
||||
return null;
|
||||
}, [filteredTabIds, activeTab]);
|
||||
}, [filteredTabIds, activeTab],);
|
||||
|
||||
final tabs = useMemoized(() {
|
||||
return filteredTabIds.collection
|
||||
@@ -346,7 +346,7 @@ class ViewTabsSheetWidget extends HookConsumerWidget {
|
||||
),
|
||||
)
|
||||
.toList();
|
||||
}, [filteredTabIds, activeTab]);
|
||||
}, [filteredTabIds, activeTab],);
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4.0),
|
||||
|
||||
@@ -64,7 +64,7 @@ class ContainerEditScreen extends HookConsumerWidget {
|
||||
title: Text(switch (_mode) {
|
||||
_DialogMode.create => 'New Container',
|
||||
_DialogMode.edit => 'Edit Container',
|
||||
}),
|
||||
},),
|
||||
actions: [
|
||||
IconButton(
|
||||
onPressed: () async {
|
||||
|
||||
@@ -33,6 +33,6 @@ class KagiAutosuggestService extends _$KagiAutosuggestService
|
||||
final List resultList => resultList.cast(),
|
||||
_ => [],
|
||||
};
|
||||
}, exceptionHandler: handleHttpError);
|
||||
}, exceptionHandler: handleHttpError,);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ class SummarizeTab extends HookConsumerWidget {
|
||||
|
||||
textController.addListener(debounce);
|
||||
return () => textController.removeListener(debounce);
|
||||
}, [textController]);
|
||||
}, [textController],);
|
||||
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
@@ -198,7 +198,7 @@ final class PrefixQueryBuilder extends FtsQueryBuilder {
|
||||
}
|
||||
|
||||
return 'NEAR(${phrase.map((bareword) => '$bareword*').join(' ')})';
|
||||
}, ' OR ');
|
||||
}, ' OR ',);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user