aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/homescreen.dart6
-rw-r--r--lib/page_hvac.dart16
2 files changed, 13 insertions, 9 deletions
diff --git a/lib/homescreen.dart b/lib/homescreen.dart
index 29702aa..3c1934f 100644
--- a/lib/homescreen.dart
+++ b/lib/homescreen.dart
@@ -136,7 +136,11 @@ class _HomescreenState extends State<Homescreen> with TickerProviderStateMixin {
],
),
),
- const VerticalDivider(thickness: 1, width: 1),
+ VerticalDivider(
+ thickness: 1,
+ width: 1,
+ color: Colors.grey.shade900,
+ ),
// This is the main content.
Expanded(
child: AnimatedSwitcher(
diff --git a/lib/page_hvac.dart b/lib/page_hvac.dart
index 47aea03..2b5b825 100644
--- a/lib/page_hvac.dart
+++ b/lib/page_hvac.dart
@@ -102,7 +102,7 @@ String circulationInactive = 'images/HMI_HVAC_Circulation_Inactive.png';
// Get from API
bool leftChairSelected = true;
bool rightChairSelected = true;
-bool ACSelected = true;
+bool acSelected = true;
bool autoSelected = true;
bool circulationSelected = true;
@@ -192,18 +192,18 @@ class _HVACPageState extends State<HVACPage> {
margin: EdgeInsets.all(sizeHelper.defaultPadding),
decoration: BoxDecoration(
border: Border.all(
- color: ACSelected ? Colors.green : Colors.grey,
- ),
- borderRadius: BorderRadius.circular(20)),
+ color: acSelected ? Colors.green : Colors.grey,
+ ),
+ ),
child: OutlinedButton(
onPressed: () {
setState(() {
- ACSelected = !ACSelected;
+ acSelected = !acSelected;
});
},
child: Text(
"A / C",
- style: ACSelected ? buttonTextStyle : unselectedButtonTextStyle,
+ style: acSelected ? buttonTextStyle : unselectedButtonTextStyle,
),
),
),
@@ -215,7 +215,7 @@ class _HVACPageState extends State<HVACPage> {
border: Border.all(
color: autoSelected ? Colors.green : Colors.grey,
),
- borderRadius: BorderRadius.circular(20)),
+ ),
child: OutlinedButton(
onPressed: () {
setState(() {
@@ -237,7 +237,7 @@ class _HVACPageState extends State<HVACPage> {
border: Border.all(
color: circulationSelected ? Colors.green : Colors.grey,
),
- borderRadius: BorderRadius.circular(20)),
+ ),
child: OutlinedButton(
onPressed: () {
setState(() {