Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: change the animation logic
Lucas Oliveira07f300f0327f
diff --git a/frontend/app_flowy/lib/workspace/presentation/widgets/toggle/toggle.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/toggle/toggle.dartindex 9b0d8de891..1d76083485 100644--- a/frontend/app_flowy/lib/workspace/presentation/widgets/toggle/toggle.dart+++ b/frontend/app_flowy/lib/workspace/presentation/widgets/toggle/toggle.dart@@ -34,7 +34,7 @@ class Toggle extends StatelessWidget {AnimatedPositioned(duration: const Duration(milliseconds: 150),top: (style.height - style.thumbRadius) / 2,- left: value ? 1 : style.width - style.thumbRadius - 1,+ left: value ? style.width - style.thumbRadius - 1 : 1,child: Container(height: style.thumbRadius,width: style.thumbRadius,