mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 06:07:55 +00:00
fixes issues
This commit is contained in:
@@ -36,7 +36,7 @@ class _RoomPageState extends State<RoomPage> {
|
||||
final query = _searchController.text.toLowerCase();
|
||||
setState(() {
|
||||
_filteredDevices = widget.room.devices!
|
||||
.where((device) => device.type!.toLowerCase().contains(query))
|
||||
.where((device) => device.name!.toLowerCase().contains(query))
|
||||
.toList();
|
||||
});
|
||||
}
|
||||
@@ -51,7 +51,9 @@ class _RoomPageState extends State<RoomPage> {
|
||||
decoration: InputDecoration(
|
||||
hintText: 'Search',
|
||||
hintStyle: const TextStyle(
|
||||
color: ColorsManager.textGray, fontSize: 16, fontWeight: FontWeight.w400),
|
||||
color: ColorsManager.textGray,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w400),
|
||||
prefixIcon: Container(
|
||||
padding: const EdgeInsets.all(5.0),
|
||||
margin: const EdgeInsets.all(10.0),
|
||||
|
||||
Reference in New Issue
Block a user