Update codebase
This commit is contained in:
@@ -3,7 +3,7 @@ import 'package:get/get.dart';
|
||||
|
||||
import '../../../constant/finance_design_system.dart';
|
||||
import '../../../controller/home/captin/behavior_controller.dart';
|
||||
import '../../widgets/ui/siro_ui.dart';
|
||||
import '../../widgets/ui/tripz_ui.dart';
|
||||
|
||||
class BehaviorPage extends StatelessWidget {
|
||||
const BehaviorPage({super.key});
|
||||
@@ -13,11 +13,11 @@ class BehaviorPage extends StatelessWidget {
|
||||
final controller = Get.put(DriverBehaviorController());
|
||||
controller.fetchDriverBehavior();
|
||||
|
||||
return SiroPage(
|
||||
return TripzPage(
|
||||
title: 'Driver Behavior'.tr,
|
||||
body: Obx(() {
|
||||
if (controller.isLoading.value) {
|
||||
return const SiroLoading();
|
||||
return const TripzLoading();
|
||||
}
|
||||
|
||||
double score = controller.overallScore.value;
|
||||
|
||||
Reference in New Issue
Block a user