mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-09-28 12:02:02 +02:00
Fix lint warnings and cleanup unused code after RadioGroup migration
Remove unused imports, fields, variables, and dead code introduced during the RadioGroup widget migration and prior changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
98b73fe019
commit
037165653c
@@ -140,16 +140,6 @@ class SessionState extends ChangeNotifier {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool _profileMatchesTags(NodeProfile profile, Map<String, String> tags) {
|
||||
// Simple matching: check if all profile tags are present in node tags
|
||||
for (final entry in profile.tags.entries) {
|
||||
if (tags[entry.key] != entry.value) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/// Calculate additional existing tags for a given profile change
|
||||
Map<String, String> _calculateAdditionalExistingTags(NodeProfile? newProfile, OsmNode originalNode) {
|
||||
final additionalTags = <String, String>{};
|
||||
@@ -479,7 +469,7 @@ class SessionState extends ChangeNotifier {
|
||||
}
|
||||
|
||||
/// Generate a default changeset comment for a submission
|
||||
/// Handles special case of <Existing tags> profile by using "a" instead
|
||||
/// Handles special case of `<Existing tags>` profile by using "a" instead
|
||||
String _generateDefaultChangesetComment({
|
||||
required NodeProfile? profile,
|
||||
required UploadOperation operation,
|
||||
|
||||
Reference in New Issue
Block a user