Ver Fonte

Minor fixes

Neeraj Gupta há 3 anos atrás
pai
commit
3c55183092
2 ficheiros alterados com 7 adições e 1 exclusões
  1. 6 0
      lib/ui/home_widget.dart
  2. 1 1
      lib/ui/settings/common_settings.dart

+ 6 - 0
lib/ui/home_widget.dart

@@ -547,6 +547,12 @@ class _HomeBottomNavigationBarState extends State<HomeBottomNavigationBar> {
     });
   }
 
+  @override
+  void dispose() {
+    _tabChangedEventSubscription.cancel();
+    super.dispose();
+  }
+
   void _onTabChange(int index) {
     Bus.instance.fire(TabChangedEvent(
       index,

+ 1 - 1
lib/ui/settings/common_settings.dart

@@ -15,7 +15,7 @@ ExpandableThemeData getExpandableTheme(BuildContext context) {
     iconPadding: EdgeInsets.all(4),
     iconColor: Theme.of(context).colorScheme.onSurface,
     iconSize: 20.0,
-    iconRotationAngle: 3.14 / 2,
+    iconRotationAngle: -3.14 / 2,
     hasIcon: true,
   );
 }