Skip to content

Commit

Permalink
M3-107 Feat : AndroidStepStat에서 StepStat 으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
koomin1227 committed Jul 6, 2024
1 parent e84dcbb commit a5d54c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/controllers/walking_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class WalkingController extends GetxController {
_initializeWeeklySteps();
_initializeCurrentStep();

Timer.periodic(Duration(seconds: 30), (timer) {
Timer.periodic(Duration(seconds: 10), (timer) {
print('--------------walk update---------------');
updateCurrentStep();
});
}
Expand Down
4 changes: 2 additions & 2 deletions lib/screens/map_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import 'package:google_maps_flutter/google_maps_flutter.dart';
import '../controllers/map_controller.dart';
import '../controllers/permission_controller.dart';
import '../controllers/walking_controller.dart';
import '../widgets/map/android_step_stats.dart';
import '../widgets/map/mode_change_button.dart';
import '../widgets/map/step_stats.dart';

class MapScreen extends StatelessWidget {
const MapScreen({super.key});
Expand Down Expand Up @@ -52,7 +52,7 @@ class MapScreen extends StatelessWidget {
ModeChangeButton(),
const Padding(
padding: EdgeInsets.only(bottom: 32),
child: AndroidStepStats(),
child: StepStats(),
),
],
),
Expand Down

0 comments on commit a5d54c1

Please sign in to comment.