mirror of
https://github.com/git-touch/git-touch
synced 2025-02-01 16:36:46 +01:00
fix: update collapse props
This commit is contained in:
parent
19a87870bb
commit
0f4192f0be
@ -27,7 +27,7 @@ class FilesItem extends StatelessWidget {
|
||||
final theme = Provider.of<ThemeModel>(context);
|
||||
final codeProvider = Provider.of<CodeModel>(context);
|
||||
return AntCollapse(
|
||||
activeKey: const [''],
|
||||
activeKey: const {},
|
||||
onChange: (_) {
|
||||
// TODO: set active
|
||||
},
|
||||
|
@ -80,7 +80,7 @@ class _ReleaseItemState extends State<ReleaseItem> {
|
||||
const SizedBox(height: 10),
|
||||
],
|
||||
AntCollapse(
|
||||
activeKey: _isExpanded ? [''] : [],
|
||||
activeKey: _isExpanded ? {''} : {},
|
||||
onChange: (_) {
|
||||
setState(() {
|
||||
_isExpanded = !_isExpanded;
|
||||
|
Loading…
x
Reference in New Issue
Block a user