mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: typo
This commit is contained in:
parent
f762a78ac0
commit
ab1032139a
@ -30,7 +30,7 @@ List<String> defaultListToolbarEventNames = [
|
||||
'H3',
|
||||
];
|
||||
|
||||
mixin ToolBarMixin<T extends StatefulWidget> on State<T> {
|
||||
mixin ToolbarMixin<T extends StatefulWidget> on State<T> {
|
||||
void hide();
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@ class ToolbarWidget extends StatefulWidget {
|
||||
State<ToolbarWidget> createState() => _ToolbarWidgetState();
|
||||
}
|
||||
|
||||
class _ToolbarWidgetState extends State<ToolbarWidget> with ToolBarMixin {
|
||||
class _ToolbarWidgetState extends State<ToolbarWidget> with ToolbarMixin {
|
||||
final GlobalKey _listToolbarKey = GlobalKey();
|
||||
|
||||
final toolbarHeight = 32.0;
|
||||
|
@ -49,7 +49,7 @@ class _FlowyToolbarState extends State<FlowyToolbar>
|
||||
|
||||
@override
|
||||
void hide() {
|
||||
_toolbarWidgetKey.currentState?.unwrapOrNull<ToolBarMixin>()?.hide();
|
||||
_toolbarWidgetKey.currentState?.unwrapOrNull<ToolbarMixin>()?.hide();
|
||||
_toolbarOverlay?.remove();
|
||||
_toolbarOverlay = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user