From bae2bf63eb086230495793d25163cde2ddd0bd76 Mon Sep 17 00:00:00 2001 From: zarzet Date: Tue, 10 Feb 2026 20:46:45 +0700 Subject: [PATCH] chore: remove Buy Me a Coffee references (account suspended) --- .github/FUNDING.yml | 1 - README.md | 4 +- lib/constants/app_info.dart | 1 - lib/l10n/app_localizations.dart | 12 ----- lib/l10n/app_localizations_de.dart | 7 --- lib/l10n/app_localizations_en.dart | 6 --- lib/l10n/app_localizations_es.dart | 12 ----- lib/l10n/app_localizations_fr.dart | 6 --- lib/l10n/app_localizations_hi.dart | 6 --- lib/l10n/app_localizations_id.dart | 6 --- lib/l10n/app_localizations_ja.dart | 6 --- lib/l10n/app_localizations_ko.dart | 6 --- lib/l10n/app_localizations_nl.dart | 6 --- lib/l10n/app_localizations_pt.dart | 12 ----- lib/l10n/app_localizations_ru.dart | 6 --- lib/l10n/app_localizations_tr.dart | 6 --- lib/l10n/app_localizations_zh.dart | 18 ------- lib/l10n/arb/app_de.arb | 8 --- lib/l10n/arb/app_en.arb | 4 -- lib/l10n/arb/app_es.arb | 8 --- lib/l10n/arb/app_es_ES.arb | 8 --- lib/l10n/arb/app_fr.arb | 8 --- lib/l10n/arb/app_hi.arb | 8 --- lib/l10n/arb/app_id.arb | 10 +--- lib/l10n/arb/app_ja.arb | 8 --- lib/l10n/arb/app_ko.arb | 8 --- lib/l10n/arb/app_nl.arb | 8 --- lib/l10n/arb/app_pt.arb | 8 --- lib/l10n/arb/app_pt_PT.arb | 8 --- lib/l10n/arb/app_ru.arb | 8 --- lib/l10n/arb/app_tr.arb | 8 --- lib/l10n/arb/app_zh.arb | 8 --- lib/l10n/arb/app_zh_CN.arb | 8 --- lib/l10n/arb/app_zh_TW.arb | 8 --- lib/screens/settings/donate_page.dart | 15 ------ lib/widgets/donate_icons.dart | 77 --------------------------- 36 files changed, 3 insertions(+), 344 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index c056ec6a..df9839e1 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,4 +1,3 @@ github: zarzet ko_fi: zarzet -buy_me_a_coffee: zarzet diff --git a/README.md b/README.md index f26b1ef2..5b7b9da7 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ A: Some countries have restricted access to certain streaming service APIs. If d ### Want to support SpotiFLAC-Mobile? -_If this software is useful and brings you value, consider supporting the project by buying me a coffee. Your support helps keep development going._ +_If this software is useful and brings you value, consider supporting the project. Your support helps keep development going._ -[![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/zarzet) Buy Me A Coffee +[![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/zarzet) ## Disclaimer diff --git a/lib/constants/app_info.dart b/lib/constants/app_info.dart index 75306c04..4ebab8ef 100644 --- a/lib/constants/app_info.dart +++ b/lib/constants/app_info.dart @@ -17,6 +17,5 @@ class AppInfo { static const String originalGithubUrl = 'https://github.com/afkarxyz/SpotiFLAC'; static const String kofiUrl = 'https://ko-fi.com/zarzet'; - static const String bmacUrl = 'https://buymeacoffee.com/zarzet'; static const String githubSponsorsUrl = 'https://github.com/sponsors/zarzet/'; } diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index d7713832..d7fd0338 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -928,18 +928,6 @@ abstract class AppLocalizations { /// **'Support'** String get aboutSupport; - /// Donation link - /// - /// In en, this message translates to: - /// **'Buy me a coffee'** - String get aboutBuyMeCoffee; - - /// Subtitle for donation - /// - /// In en, this message translates to: - /// **'Support development on Ko-fi'** - String get aboutBuyMeCoffeeSubtitle; - /// Section for app info /// /// In en, this message translates to: diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index e11c2238..052b9474 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -469,13 +469,6 @@ class AppLocalizationsDe extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Spendiere mir einen Kaffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => - 'Unterstütze die Entwicklung auf Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index 784777f1..0bcd87bf 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -457,12 +457,6 @@ class AppLocalizationsEn extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/app_localizations_es.dart b/lib/l10n/app_localizations_es.dart index d1eda587..574edcf6 100644 --- a/lib/l10n/app_localizations_es.dart +++ b/lib/l10n/app_localizations_es.dart @@ -457,12 +457,6 @@ class AppLocalizationsEs extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; @@ -3338,12 +3332,6 @@ class AppLocalizationsEsEs extends AppLocalizationsEs { @override String get aboutSupport => 'Soporte'; - @override - String get aboutBuyMeCoffee => 'Invítame a un café'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Apoyar el desarrollo en Ko-fi'; - @override String get aboutApp => 'Aplicación'; diff --git a/lib/l10n/app_localizations_fr.dart b/lib/l10n/app_localizations_fr.dart index 600c9468..61057994 100644 --- a/lib/l10n/app_localizations_fr.dart +++ b/lib/l10n/app_localizations_fr.dart @@ -457,12 +457,6 @@ class AppLocalizationsFr extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/app_localizations_hi.dart b/lib/l10n/app_localizations_hi.dart index 88daceea..a10d26cb 100644 --- a/lib/l10n/app_localizations_hi.dart +++ b/lib/l10n/app_localizations_hi.dart @@ -457,12 +457,6 @@ class AppLocalizationsHi extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/app_localizations_id.dart b/lib/l10n/app_localizations_id.dart index 532d79e1..0a011ec9 100644 --- a/lib/l10n/app_localizations_id.dart +++ b/lib/l10n/app_localizations_id.dart @@ -462,12 +462,6 @@ class AppLocalizationsId extends AppLocalizations { @override String get aboutSupport => 'Dukungan'; - @override - String get aboutBuyMeCoffee => 'Belikan saya kopi'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Dukung pengembangan di Ko-fi'; - @override String get aboutApp => 'Aplikasi'; diff --git a/lib/l10n/app_localizations_ja.dart b/lib/l10n/app_localizations_ja.dart index 41f762b1..973227d6 100644 --- a/lib/l10n/app_localizations_ja.dart +++ b/lib/l10n/app_localizations_ja.dart @@ -453,12 +453,6 @@ class AppLocalizationsJa extends AppLocalizations { @override String get aboutSupport => 'サポート'; - @override - String get aboutBuyMeCoffee => 'コーヒーを買ってください'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Ko-fi で開発をサポートします'; - @override String get aboutApp => 'アプリ'; diff --git a/lib/l10n/app_localizations_ko.dart b/lib/l10n/app_localizations_ko.dart index f71686e0..dceb933f 100644 --- a/lib/l10n/app_localizations_ko.dart +++ b/lib/l10n/app_localizations_ko.dart @@ -457,12 +457,6 @@ class AppLocalizationsKo extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/app_localizations_nl.dart b/lib/l10n/app_localizations_nl.dart index 453c445f..5a4eca35 100644 --- a/lib/l10n/app_localizations_nl.dart +++ b/lib/l10n/app_localizations_nl.dart @@ -457,12 +457,6 @@ class AppLocalizationsNl extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/app_localizations_pt.dart b/lib/l10n/app_localizations_pt.dart index 722e3afe..4e8748a5 100644 --- a/lib/l10n/app_localizations_pt.dart +++ b/lib/l10n/app_localizations_pt.dart @@ -457,12 +457,6 @@ class AppLocalizationsPt extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; @@ -3337,12 +3331,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt { @override String get aboutSupport => 'Apoiar'; - @override - String get aboutBuyMeCoffee => 'Compre-me um café'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Apoie o desenvolvimento na Ko-fi'; - @override String get aboutApp => 'Aplicativo'; diff --git a/lib/l10n/app_localizations_ru.dart b/lib/l10n/app_localizations_ru.dart index 331eaea1..9ffb5d94 100644 --- a/lib/l10n/app_localizations_ru.dart +++ b/lib/l10n/app_localizations_ru.dart @@ -470,12 +470,6 @@ class AppLocalizationsRu extends AppLocalizations { @override String get aboutSupport => 'Поддержка'; - @override - String get aboutBuyMeCoffee => 'Купить мне кофе'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Поддержать разработку на Ko-fi'; - @override String get aboutApp => 'Приложение'; diff --git a/lib/l10n/app_localizations_tr.dart b/lib/l10n/app_localizations_tr.dart index dd794add..7a6e5c3a 100644 --- a/lib/l10n/app_localizations_tr.dart +++ b/lib/l10n/app_localizations_tr.dart @@ -464,12 +464,6 @@ class AppLocalizationsTr extends AppLocalizations { @override String get aboutSupport => 'Destek'; - @override - String get aboutBuyMeCoffee => 'Bana bir kahve ısmarla'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Ko-fi üzerinden uygulamayı destekle'; - @override String get aboutApp => 'Uygulama'; diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dart index b3478881..2e87063e 100644 --- a/lib/l10n/app_localizations_zh.dart +++ b/lib/l10n/app_localizations_zh.dart @@ -457,12 +457,6 @@ class AppLocalizationsZh extends AppLocalizations { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; @@ -3348,12 +3342,6 @@ class AppLocalizationsZhCn extends AppLocalizationsZh { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; @@ -5494,12 +5482,6 @@ class AppLocalizationsZhTw extends AppLocalizationsZh { @override String get aboutSupport => 'Support'; - @override - String get aboutBuyMeCoffee => 'Buy me a coffee'; - - @override - String get aboutBuyMeCoffeeSubtitle => 'Support development on Ko-fi'; - @override String get aboutApp => 'App'; diff --git a/lib/l10n/arb/app_de.arb b/lib/l10n/arb/app_de.arb index db6a5afd..435821e3 100644 --- a/lib/l10n/arb/app_de.arb +++ b/lib/l10n/arb/app_de.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Spendiere mir einen Kaffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Unterstütze die Entwicklung auf Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 6b7d627f..ca845fcf 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -326,10 +326,6 @@ "@aboutSocial": {"description": "Section for social links"}, "aboutSupport": "Support", "@aboutSupport": {"description": "Section for support/donation links"}, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": {"description": "Donation link"}, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": {"description": "Subtitle for donation"}, "aboutApp": "App", "@aboutApp": {"description": "Section for app info"}, "aboutVersion": "Version", diff --git a/lib/l10n/arb/app_es.arb b/lib/l10n/arb/app_es.arb index 20c73801..f499cb14 100644 --- a/lib/l10n/arb/app_es.arb +++ b/lib/l10n/arb/app_es.arb @@ -548,14 +548,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_es_ES.arb b/lib/l10n/arb/app_es_ES.arb index f9e67d0b..8983f074 100644 --- a/lib/l10n/arb/app_es_ES.arb +++ b/lib/l10n/arb/app_es_ES.arb @@ -548,14 +548,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Invítame a un café", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Apoyar el desarrollo en Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "Aplicación", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_fr.arb b/lib/l10n/arb/app_fr.arb index deb1c103..160ad1ad 100644 --- a/lib/l10n/arb/app_fr.arb +++ b/lib/l10n/arb/app_fr.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_hi.arb b/lib/l10n/arb/app_hi.arb index 582a3ec7..b2959a61 100644 --- a/lib/l10n/arb/app_hi.arb +++ b/lib/l10n/arb/app_hi.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_id.arb b/lib/l10n/arb/app_id.arb index 648e367f..2c6e8a2b 100644 --- a/lib/l10n/arb/app_id.arb +++ b/lib/l10n/arb/app_id.arb @@ -587,15 +587,7 @@ "aboutSupport": "Dukungan", "@aboutSupport": { "description": "Section for support/donation links" - }, - "aboutBuyMeCoffee": "Belikan saya kopi", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Dukung pengembangan di Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, + }, "aboutApp": "Aplikasi", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_ja.arb b/lib/l10n/arb/app_ja.arb index 55fb50c8..aa003de4 100644 --- a/lib/l10n/arb/app_ja.arb +++ b/lib/l10n/arb/app_ja.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "コーヒーを買ってください", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Ko-fi で開発をサポートします", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "アプリ", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_ko.arb b/lib/l10n/arb/app_ko.arb index e475a220..6dcecff2 100644 --- a/lib/l10n/arb/app_ko.arb +++ b/lib/l10n/arb/app_ko.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_nl.arb b/lib/l10n/arb/app_nl.arb index 3db0d42a..384b764b 100644 --- a/lib/l10n/arb/app_nl.arb +++ b/lib/l10n/arb/app_nl.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_pt.arb b/lib/l10n/arb/app_pt.arb index 3c7ff088..654f6c08 100644 --- a/lib/l10n/arb/app_pt.arb +++ b/lib/l10n/arb/app_pt.arb @@ -548,14 +548,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_pt_PT.arb b/lib/l10n/arb/app_pt_PT.arb index ac8659e6..61589aa2 100644 --- a/lib/l10n/arb/app_pt_PT.arb +++ b/lib/l10n/arb/app_pt_PT.arb @@ -548,14 +548,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Compre-me um café", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Apoie o desenvolvimento na Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "Aplicativo", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_ru.arb b/lib/l10n/arb/app_ru.arb index 4d4fa62d..6869b741 100644 --- a/lib/l10n/arb/app_ru.arb +++ b/lib/l10n/arb/app_ru.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Купить мне кофе", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Поддержать разработку на Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "Приложение", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_tr.arb b/lib/l10n/arb/app_tr.arb index 18c04bfc..a72454fa 100644 --- a/lib/l10n/arb/app_tr.arb +++ b/lib/l10n/arb/app_tr.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Bana bir kahve ısmarla", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Ko-fi üzerinden uygulamayı destekle", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "Uygulama", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_zh.arb b/lib/l10n/arb/app_zh.arb index e267e87e..aad9e509 100644 --- a/lib/l10n/arb/app_zh.arb +++ b/lib/l10n/arb/app_zh.arb @@ -548,14 +548,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_zh_CN.arb b/lib/l10n/arb/app_zh_CN.arb index 1823d0ea..d2f0a53b 100644 --- a/lib/l10n/arb/app_zh_CN.arb +++ b/lib/l10n/arb/app_zh_CN.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/l10n/arb/app_zh_TW.arb b/lib/l10n/arb/app_zh_TW.arb index 3bc88cd5..4e98f0c0 100644 --- a/lib/l10n/arb/app_zh_TW.arb +++ b/lib/l10n/arb/app_zh_TW.arb @@ -576,14 +576,6 @@ "@aboutSupport": { "description": "Section for support/donation links" }, - "aboutBuyMeCoffee": "Buy me a coffee", - "@aboutBuyMeCoffee": { - "description": "Donation link" - }, - "aboutBuyMeCoffeeSubtitle": "Support development on Ko-fi", - "@aboutBuyMeCoffeeSubtitle": { - "description": "Subtitle for donation" - }, "aboutApp": "App", "@aboutApp": { "description": "Section for app info" diff --git a/lib/screens/settings/donate_page.dart b/lib/screens/settings/donate_page.dart index 6a145d52..9608bab9 100644 --- a/lib/screens/settings/donate_page.dart +++ b/lib/screens/settings/donate_page.dart @@ -255,21 +255,6 @@ class _DonateLinksCard extends StatelessWidget { endIndent: 16, color: colorScheme.outlineVariant.withValues(alpha: 0.3), ), - _DonateCardItem( - title: 'Buy Me a Coffee', - subtitle: 'buymeacoffee.com/zarzet', - customIcon: const BmacIcon(size: 22, color: Colors.black87), - color: const Color(0xFFFFDD00), - url: AppInfo.bmacUrl, - colorScheme: colorScheme, - ), - Divider( - height: 1, - thickness: 1, - indent: 74, - endIndent: 16, - color: colorScheme.outlineVariant.withValues(alpha: 0.3), - ), _DonateCardItem( title: 'GitHub Sponsors', subtitle: 'github.com/sponsors/zarzet', diff --git a/lib/widgets/donate_icons.dart b/lib/widgets/donate_icons.dart index 80edfe7d..16e83ef8 100644 --- a/lib/widgets/donate_icons.dart +++ b/lib/widgets/donate_icons.dart @@ -84,83 +84,6 @@ class _KofiPainter extends CustomPainter { bool shouldRepaint(covariant CustomPainter oldDelegate) => false; } -class BmacIcon extends StatelessWidget { - final double size; - final Color color; - - const BmacIcon({super.key, this.size = 22, this.color = Colors.black87}); - - @override - Widget build(BuildContext context) { - return CustomPaint( - size: Size(size, size), - painter: _BmacPainter(color), - ); - } -} - -class _BmacPainter extends CustomPainter { - final Color color; - _BmacPainter(this.color); - - @override - void paint(Canvas canvas, Size size) { - final s = size.width; - final paint = Paint() - ..color = color - ..style = PaintingStyle.fill; - - // Cup body (slightly tapered) - final cup = Path() - ..moveTo(s * 0.15, s * 0.35) - ..lineTo(s * 0.20, s * 0.82) - ..quadraticBezierTo(s * 0.20, s * 0.90, s * 0.28, s * 0.90) - ..lineTo(s * 0.56, s * 0.90) - ..quadraticBezierTo(s * 0.64, s * 0.90, s * 0.64, s * 0.82) - ..lineTo(s * 0.69, s * 0.35) - ..close(); - canvas.drawPath(cup, paint); - - // Cup rim - final rim = RRect.fromRectAndRadius( - Rect.fromLTWH(s * 0.10, s * 0.30, s * 0.64, s * 0.10), - Radius.circular(s * 0.05), - ); - canvas.drawRRect(rim, paint); - - // Handle - final handlePaint = Paint() - ..color = color - ..style = PaintingStyle.stroke - ..strokeWidth = s * 0.07 - ..strokeCap = StrokeCap.round; - - final handle = Path() - ..moveTo(s * 0.69, s * 0.42) - ..quadraticBezierTo(s * 0.90, s * 0.42, s * 0.90, s * 0.56) - ..quadraticBezierTo(s * 0.90, s * 0.70, s * 0.69, s * 0.70); - canvas.drawPath(handle, handlePaint); - - // Steam - final steamPaint = Paint() - ..color = color.withValues(alpha: 0.5) - ..style = PaintingStyle.stroke - ..strokeWidth = s * 0.04 - ..strokeCap = StrokeCap.round; - - for (var i = 0; i < 3; i++) { - final sx = s * (0.26 + i * 0.14); - final steam = Path() - ..moveTo(sx, s * 0.26) - ..quadraticBezierTo(sx + s * 0.03, s * 0.18, sx, s * 0.10); - canvas.drawPath(steam, steamPaint); - } - } - - @override - bool shouldRepaint(covariant CustomPainter oldDelegate) => false; -} - class GitHubIcon extends StatelessWidget { final double size; final Color color;