Skip to content

Commit d878016

Browse files
committed
remove bluetooth check from home feed as it now replaces the gear bar
1 parent 2e47af7 commit d878016

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

lib/Frontend/pages/home.dart

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import 'package:tail_app/Frontend/Widgets/coshub_feed.dart';
66
import 'package:tail_app/Frontend/Widgets/uwu_text.dart';
77
import 'package:tail_app/gen/assets.gen.dart';
88

9-
import '../../Backend/Bluetooth/bluetooth_manager_plus.dart';
10-
import '../../constants.dart';
119
import '../Widgets/base_card.dart';
1210
import '../Widgets/tail_blog.dart';
1311
import '../go_router_config.dart';
@@ -77,30 +75,6 @@ class _HomeState extends State<Home> {
7775
],
7876
),
7977
),
80-
ValueListenableBuilder(
81-
valueListenable: isBluetoothEnabled,
82-
builder: (context, bluetoothEnabled, child) => AnimatedCrossFade(
83-
secondChild: BaseCard(
84-
child: Column(
85-
mainAxisSize: MainAxisSize.min,
86-
children: <Widget>[
87-
ListTile(
88-
leading: const Icon(Icons.bluetooth_disabled),
89-
title: Text(convertToUwU(actionsNoBluetooth())),
90-
subtitle: Text(
91-
convertToUwU(actionsNoBluetoothDescription()),
92-
),
93-
),
94-
],
95-
),
96-
),
97-
firstChild: Container(),
98-
crossFadeState: bluetoothEnabled
99-
? CrossFadeState.showFirst
100-
: CrossFadeState.showSecond,
101-
duration: animationTransitionDuration,
102-
),
103-
),
10478
ListTile(
10579
title: Text(
10680
convertToUwU(homeNewsTitle()),

0 commit comments

Comments
 (0)