Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

remove unnecessary check

ashilkn0c569d7e973e
diff --git a/lib/ui/tabs/home_widget.dart b/lib/ui/tabs/home_widget.dart
index 514a1536c9..6ce7d46d12 100644
--- a/lib/ui/tabs/home_widget.dart
+++ b/lib/ui/tabs/home_widget.dart
@@ -120,13 +120,11 @@ class _HomeWidgetState extends State<HomeWidget> {
debugPrint(
"TabChange going from $_selectedTabIndex to ${event.selectedIndex} souce: ${event.source}",
);
- if (_pageController.hasClients) {
- _pageController.animateToPage(
- event.selectedIndex,
- duration: const Duration(milliseconds: 100),
- curve: Curves.easeIn,
- );
- }
+ _pageController.animateToPage(
+ event.selectedIndex,
+ duration: const Duration(milliseconds: 100),
+ curve: Curves.easeIn,
+ );
}
});
_subscriptionPurchaseEvent =