This commit is contained in:
@@ -4,8 +4,7 @@ import 'package:tm_app/core/utils/size_config.dart';
|
||||
|
||||
import '../strings/tenders_strings.dart';
|
||||
|
||||
/// Segmented control switching between the "All" tenders list and the
|
||||
/// "Recommended" AI tab.
|
||||
/// Segmented control for the tenders list.
|
||||
class TendersTabBar extends StatelessWidget {
|
||||
const TendersTabBar({
|
||||
required this.selectedIndex,
|
||||
@@ -13,7 +12,7 @@ class TendersTabBar extends StatelessWidget {
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// 0 = All, 1 = Recommended.
|
||||
/// 1 = Recommended. The former All tab is intentionally hidden.
|
||||
final int selectedIndex;
|
||||
final ValueChanged<int> onChanged;
|
||||
|
||||
@@ -29,7 +28,8 @@ class TendersTabBar extends StatelessWidget {
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
_segment(TendersStrings.allTab, 0),
|
||||
// All tenders is hidden for now.
|
||||
// _segment(TendersStrings.allTab, 0),
|
||||
_segment(TendersStrings.recommendedTab, 1),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user