Update: 2026-06-11 13:47:39
This commit is contained in:
@@ -307,7 +307,7 @@ class _AdminHomePageState extends State<AdminHomePage>
|
||||
colors: [_accent, _info],
|
||||
).createShader(bounds),
|
||||
child: const Text(
|
||||
'Intaleq Admin',
|
||||
'Siro Admin',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w700,
|
||||
@@ -746,7 +746,7 @@ class _AdminHomePageState extends State<AdminHomePage>
|
||||
ActionItem('السائقون', Icons.drive_eta_rounded, _warning,
|
||||
() => Get.to(() => CaptainsPage())),
|
||||
ActionItem('المراقب', Icons.track_changes_rounded, _danger,
|
||||
() => Get.to(() => IntaleqTrackerScreen())),
|
||||
() => Get.to(() => SiroTrackerScreen())),
|
||||
],
|
||||
),
|
||||
ActionCategory(
|
||||
|
||||
@@ -31,7 +31,7 @@ class DriverCacheController extends GetxController {
|
||||
try {
|
||||
// Using GetConnect to fetch the JSON directly
|
||||
final response = await GetConnect().get(
|
||||
'https://api.intaleq.xyz/intaleq/ride/location/active_drivers_cache.json',
|
||||
'https://api.intaleq.xyz/siro/ride/location/active_drivers_cache.json',
|
||||
);
|
||||
|
||||
if (response.body != null && response.body is Map) {
|
||||
|
||||
@@ -12,14 +12,14 @@ import '../../../constant/box_name.dart';
|
||||
import '../../../controller/functions/crud.dart';
|
||||
import '../../../main.dart';
|
||||
|
||||
class IntaleqTrackerScreen extends StatefulWidget {
|
||||
const IntaleqTrackerScreen({super.key});
|
||||
class SiroTrackerScreen extends StatefulWidget {
|
||||
const SiroTrackerScreen({super.key});
|
||||
|
||||
@override
|
||||
State<IntaleqTrackerScreen> createState() => _IntaleqTrackerScreenState();
|
||||
State<SiroTrackerScreen> createState() => _SiroTrackerScreenState();
|
||||
}
|
||||
|
||||
class _IntaleqTrackerScreenState extends State<IntaleqTrackerScreen>
|
||||
class _SiroTrackerScreenState extends State<SiroTrackerScreen>
|
||||
with TickerProviderStateMixin {
|
||||
// === Map Controller ===
|
||||
final MapController _mapController = MapController();
|
||||
|
||||
Reference in New Issue
Block a user