clean: remove catalog tab, keeping 2 pure tabs (Oracle and History)

This commit is contained in:
Alma Alexyz
2026-08-31 15:30:41 +05:00
parent 6f9d4d4cca
commit 95c64ce1cd
3 changed files with 5 additions and 326 deletions
+4 -11
View File
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'screens/catalog_screen.dart';
import 'screens/history_screen.dart';
import 'screens/home_search_screen.dart';
import 'services/words_repository.dart';
@@ -57,19 +56,19 @@ class _Words999AppState extends State<Words999App> {
),
),
navigationBarTheme: NavigationBarThemeData(
backgroundColor: const Color(0xFF101322),
backgroundColor: const Color(0xFF101222),
indicatorColor: const Color(0xFF2A2D4A),
labelTextStyle: WidgetStateProperty.resolveWith((states) {
if (states.contains(WidgetState.selected)) {
return const TextStyle(
color: Color(0xFFFFD54F),
color: Color(0xFFFFF9C4),
fontWeight: FontWeight.bold,
fontSize: 12,
);
}
return const TextStyle(
color: Color(0xFF9FA8DA),
fontSize: 11,
color: Color(0xFF8C93B8),
fontSize: 12,
);
}),
),
@@ -91,7 +90,6 @@ class _MainNavigationContainerState extends State<MainNavigationContainer> {
final List<Widget> _screens = const [
HomeSearchScreen(),
CatalogScreen(),
HistoryScreen(),
];
@@ -114,11 +112,6 @@ class _MainNavigationContainerState extends State<MainNavigationContainer> {
selectedIcon: GradientStar(size: 22),
label: 'Оракул',
),
NavigationDestination(
icon: Icon(Icons.menu_book_outlined),
selectedIcon: GradientStar(size: 22),
label: 'Каталог 999',
),
NavigationDestination(
icon: Icon(Icons.history_rounded),
selectedIcon: GradientStar(size: 22),