chore : change app archticle

This commit is contained in:
2025-05-12 16:55:55 +03:30
parent 114f8a1ada
commit e11ef1990c
56 changed files with 873 additions and 1247 deletions

View File

@@ -1,9 +1,10 @@
import 'package:flutter/material.dart';
import 'package:inspection/presentation/action/view.dart';
import 'package:inspection/presentation/filter/view.dart';
import 'package:inspection/presentation/profile/view.dart';
import 'package:rasadyar_core/core.dart';
import 'package:rasadyar_core/data/utils.dart';
import '../action/view.dart';
import '../filter/view.dart';
import '../profile/view.dart';
enum ErrorLocationType { serviceDisabled, permissionDenied, none }
@@ -50,7 +51,6 @@ class RootLogic extends GetxController {
}
} catch (e) {
eLog(e);
return await Geolocator.openLocationSettings();
}
}

View File

@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
import 'package:rasadyar_core/data/utils.dart';
import 'logic.dart';
@@ -25,7 +25,7 @@ class RootPage extends GetView<RootLogic> {
textStyle: AppFonts.yekan16,
onPressed: () async {
var service = await controller.locationServiceEnabled();
eLog(service);
if (service) {
controller.errorLocationType.remove(
ErrorLocationType.serviceDisabled,