bugs fixes 4

This commit is contained in:
mohammad
2024-09-24 10:35:56 +03:00
parent a811baca70
commit 9d8c40e44e
4 changed files with 10 additions and 0 deletions

View File

@ -169,6 +169,8 @@ class TimerScheduleScreen extends StatelessWidget {
), ),
Expanded( Expanded(
child: TabBarView( child: TabBarView(
physics: const NeverScrollableScrollPhysics(), // Disable swiping
children: [ children: [
Center( Center(
child: Container( child: Container(

View File

@ -180,6 +180,8 @@ class TimerScheduleScreen extends StatelessWidget {
), ),
Expanded( Expanded(
child: TabBarView( child: TabBarView(
physics: const NeverScrollableScrollPhysics(), // Disable swiping
children: [ children: [
Center( Center(
child: Container( child: Container(

View File

@ -169,6 +169,8 @@ class TimerScheduleScreen extends StatelessWidget {
), ),
Expanded( Expanded(
child: TabBarView( child: TabBarView(
physics: const NeverScrollableScrollPhysics(), // Disable swiping
children: [ children: [
Center( Center(
child: Container( child: Container(

View File

@ -166,6 +166,10 @@ class WHTimerScheduleScreen extends StatelessWidget {
// waterHeaterBloc // waterHeaterBloc
// .toggleCreateSchedule(); // .toggleCreateSchedule();
} }
waterHeaterBloc.createCirculate =
false;
waterHeaterBloc.createSchedule =
false;
waterHeaterBloc.add( waterHeaterBloc.add(
ToggleSelectedEvent( ToggleSelectedEvent(
index: value)); index: value));