Entfernt den Button und die komplette Funktionalität "Wunschziel für heute" (desired_zip): Seite, Netzwerk-Nachricht, Preference-Konstante, Übermittlung beim Session-Start sowie alle Übersetzungen. Ergänzt die neue BWV-Seite samt SetBwvLocationMessage und preferencesRemove-Helfer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
48 lines
2.7 KiB
Dart
48 lines
2.7 KiB
Dart
import 'dart:ui';
|
|
|
|
class Constants {
|
|
static const Color colorPrimary = Color(0xFFE00029);
|
|
static const Color colorPrimaryOpaque = Color(0x33E00029);
|
|
|
|
static const String messageTopicConnectionStatusChanged = "connection_status_changed";
|
|
static const String messageTopicSessionInfoUpdate = "status_info_updated";
|
|
static const String messageTopicSessionStatusInfoUpdate = "session_status_info_updated";
|
|
static const String messageTopicStatusInfoUpdated = "status_info_updated";
|
|
static const String messageTopicLocationStatusUpdated = "location_status_updated";
|
|
static const String messageTopicRankingUpdated = "ranking_updated";
|
|
static const String messageTopicJobReceived = "job_received";
|
|
static const String messageTopicJobDeleted = "job_deleted";
|
|
static const String messageTopicRemoveJob = "remove_job";
|
|
static const String messageTopicUpdateBadges = "update_badges";
|
|
static const String messageTopicMessageReceived = "message_received";
|
|
static const String messageTopicPushContentView = "push_content_view";
|
|
static const String messageTopicPopContentView = "pop_content_view";
|
|
static const String messageTopicReplaceContentView = "replace_content_view";
|
|
static const String messageTopicPublishPayload = "publish_payload_message";
|
|
static const String messageTopicRemoveState0JobFromMap = "remove_state_0_job_from_map";
|
|
static const String messageTopicConnectClient = "connect_client";
|
|
static const String messageTopicDisconnectClient = "disconnect_client";
|
|
static const String messageTopicRequestConnectionStatus = "request_connection_status";
|
|
static const String messageTopicCurrentConnectionStatus = "current_connection_status";
|
|
static const String messageTopicBWVEnabled = "bwv_enabled";
|
|
static const String messageTopicLanguageChanged = "language_changed";
|
|
|
|
static const String messageShowPopup = "show_popup";
|
|
|
|
static const String prefsPreviousMqttSubscription = "previous_mqtt_subscription";
|
|
static const String prefsBWVEnabled = "bwv_enabled";
|
|
static const String prefsAppLanguage = "app_language";
|
|
|
|
// BWV / Vorbestellungen (App ist datenführend, lokal persistiert)
|
|
static const String prefsBwvStartFrom = "bwv_start_from"; // "HH:mm"
|
|
static const String prefsBwvStartTo = "bwv_start_to"; // "HH:mm"
|
|
static const String prefsBwvStartPlace = "bwv_start_place"; // PLZ
|
|
static const String prefsBwvNextFrom = "bwv_next_from"; // epoch millis (lokal)
|
|
static const String prefsBwvNextTo = "bwv_next_to"; // epoch millis (lokal)
|
|
static const String prefsBwvNextPlace = "bwv_next_place"; // PLZ
|
|
|
|
static const int stateAssigned = 0;
|
|
static const int stateAccepted = 1;
|
|
static const int stateFinished = 2;
|
|
static const int stateFinishedNotConfirmed = 9;
|
|
} |