From 53b79ab04f6d0f21298aca256e743fca936e72d1 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Fri, 6 Feb 2026 13:17:15 +0100 Subject: [PATCH] chore: add missing license headers and update copyright year --- .../widgets/navigation_buttons.dart | 19 +++++++++++++++++++ .../screens/error_logs_screen.dart | 7 ++++--- .../utils/bookmark_html_utils_test.dart | 6 +++--- .../utils/bookmark_json_utils_test.dart | 6 +++--- 4 files changed, 29 insertions(+), 9 deletions(-) diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/navigation_buttons.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/navigation_buttons.dart index f866bc6c..b276c0aa 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/navigation_buttons.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/navigation_buttons.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2026 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:weblibre/features/geckoview/domain/providers/tab_session.dart'; diff --git a/app/lib/features/settings/presentation/screens/error_logs_screen.dart b/app/lib/features/settings/presentation/screens/error_logs_screen.dart index 70625a1d..891eda6b 100644 --- a/app/lib/features/settings/presentation/screens/error_logs_screen.dart +++ b/app/lib/features/settings/presentation/screens/error_logs_screen.dart @@ -1,7 +1,5 @@ -// ignore_for_file: deprecated_member_use - /* - * Copyright (c) 2024-2025 Fabian Freund. + * Copyright (c) 2024-2026 Fabian Freund. * * This file is part of WebLibre * (see https://weblibre.eu). @@ -19,6 +17,9 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + +// ignore_for_file: deprecated_member_use + import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; diff --git a/app/test/features/geckoview/features/bookmarks/utils/bookmark_html_utils_test.dart b/app/test/features/geckoview/features/bookmarks/utils/bookmark_html_utils_test.dart index 71b0d038..1286b099 100644 --- a/app/test/features/geckoview/features/bookmarks/utils/bookmark_html_utils_test.dart +++ b/app/test/features/geckoview/features/bookmarks/utils/bookmark_html_utils_test.dart @@ -1,7 +1,5 @@ -// ignore_for_file: avoid_redundant_argument_values - /* - * Copyright (c) 2024-2025 Fabian Freund. + * Copyright (c) 2024-2026 Fabian Freund. * * This file is part of WebLibre * (see https://weblibre.eu). @@ -20,6 +18,8 @@ * along with this program. If not, see . */ +// ignore_for_file: avoid_redundant_argument_values + import 'dart:io'; import 'package:flutter_mozilla_components/flutter_mozilla_components.dart'; diff --git a/app/test/features/geckoview/features/bookmarks/utils/bookmark_json_utils_test.dart b/app/test/features/geckoview/features/bookmarks/utils/bookmark_json_utils_test.dart index c167d305..baa79b10 100644 --- a/app/test/features/geckoview/features/bookmarks/utils/bookmark_json_utils_test.dart +++ b/app/test/features/geckoview/features/bookmarks/utils/bookmark_json_utils_test.dart @@ -1,7 +1,5 @@ -// ignore_for_file: avoid_redundant_argument_values, avoid_dynamic_calls - /* - * Copyright (c) 2024-2025 Fabian Freund. + * Copyright (c) 2024-2026 Fabian Freund. * * This file is part of WebLibre * (see https://weblibre.eu). @@ -20,6 +18,8 @@ * along with this program. If not, see . */ +// ignore_for_file: avoid_redundant_argument_values, avoid_dynamic_calls + import 'dart:convert'; import 'dart:io';