changed name and icon of app

time
This commit is contained in:
Nico
2025-05-18 17:49:59 +02:00
parent 94aebeafd0
commit fccc810b8c
14 changed files with 11 additions and 13 deletions

View File

@@ -4,7 +4,7 @@
<!-- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> -->
<!-- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" /> -->
<application
android:label="fforte"
android:label="LUPUS"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
assets/icons/logo-lupus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
fforte_data/logo-lupus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -4,7 +4,6 @@ import 'package:fforte/screens/addCam/add_cam_main.dart';
import 'package:fforte/screens/intro_screen.dart';
import 'package:fforte/screens/settings.dart';
import 'package:fforte/screens/viewEntries/view_cams.dart';
import 'package:fforte/services/notification_service.dart';
import 'package:flutter/material.dart';
import 'package:flex_color_scheme/flex_color_scheme.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
@@ -17,10 +16,6 @@ import 'l10n/l10n.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
// notifications
NotificationService().initNotification();
SharedPreferences prefs = await SharedPreferences.getInstance();
bool isFirstLaunch = prefs.getBool('isFirstLaunch') ?? true;
@@ -38,7 +33,7 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'FFOrte',
title: 'LUPUS',
theme: FlexThemeData.light(scheme: FlexScheme.gold, useMaterial3: true),
darkTheme:
FlexThemeData.dark(scheme: FlexScheme.greenM3, useMaterial3: true),

View File

@@ -29,9 +29,9 @@ class _TrackingState extends State<Tracking> {
@override
void initState() {
// TODO debugging (i guess)
pathList.add(
LatLng(widget.startPosition.latitude, widget.startPosition.longitude),
);
// pathList.add(
// LatLng(widget.startPosition.latitude, widget.startPosition.longitude),
// );
if (widget.weg.text.isNotEmpty) {
for (var element in widget.weg.text.split(";")) {
@@ -78,10 +78,11 @@ class _TrackingState extends State<Tracking> {
// notification handling for tracking in background notification
await NotificationService().initNotification();
if (mounted)
if (mounted) {
NotificationService().showNotification(
title: AppLocalizations.of(context)!.trackingRunningInBackground,
);
}
positionStream = Geolocator.getPositionStream(
locationSettings: AndroidSettings(
@@ -98,9 +99,9 @@ class _TrackingState extends State<Tracking> {
),
).listen((Position? position) {
if (position != null) {
// pathList.add(LatLng(position.latitude, position.longitude));
setState(() {
pathList.add(LatLng(rand.nextInt(5) + 40, position.longitude));
pathList.add(LatLng(position.latitude, position.longitude));
// pathList.add(LatLng(rand.nextInt(5) + 40, position.longitude));
});
} else {
if (mounted) {

View File

@@ -49,4 +49,5 @@ flutter:
assets:
- assets/images/
- assets/icons/

View File

@@ -84,3 +84,4 @@
13.mai 1h 50min
15.mai 2h 30min
17.mai 1h 30min
18.mai 35min