refactor: deduplicate shared patterns, replace hardcoded colors

This commit is contained in:
edde746
2026-03-03 22:43:00 +01:00
parent 8f3d52142d
commit cd2ab9d9cd
42 changed files with 685 additions and 612 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ class SettingsService extends BaseSharedPreferencesService {
await prefs.setString(_keyMpvConfigText, text);
}
/// Parse raw config text into a Map<String, String> (skip blanks and # comments)
/// Parse raw config text into a `Map<String, String>` (skip blanks and # comments)
static Map<String, String> parseMpvConfigText(String text) {
final result = <String, String>{};
for (final line in text.split('\n')) {