Skip to content

Commit

Permalink
🔥 chore(build_all.yml): remove description from workflow file
Browse files Browse the repository at this point in the history
🔥 chore(CONSTANTS.dart): remove contribution related constants
🔥 chore(app_en.arb, app_ms.arb): remove contribution related strings

🔥 chore(contribution_page.dart): remove coffee contribution card
🎨 style(tasbih.dart): change color of bead label to match theme bodyLarge color

🔖 chore(pubspec.yaml): bump version to 2.7.6+122
🔥 refactor(zone_chooser.dart): remove error message from ZoneErrorWidget
  • Loading branch information
iqfareez committed Apr 3, 2023
2 parents 46b01d5 + aa8ec14 commit 23ffa88
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 77 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build all on release
description: Build aab and apk. The apk(s) will be uploaded to assets and the aab will be uploaded to Google Play Store

on:
release:
Expand Down
4 changes: 0 additions & 4 deletions lib/CONSTANTS.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ const kPlayStoreDevLink =
'https://play.google.com/store/apps/dev?id=9200064795631584674';
const kWebsite = 'https://waktusolat.iqfareez.com/';

//Contribution page
const kBuyMeACoffeeLink = 'https://www.buymeacoffee.com/iqfareez';
const kBankAccountNum = '162348620850'; //maybank

//hero tag
const kAppIconTag = 'appIconTag';

Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@
}
},
"contributeShareSubject": "Sharing MPT App",
"contributeCoffee": "Buy me a coffee?",
"contributeCoffeeDesc": "You can contribute any amount you like, and we appreciate any support you can give.",
"contributeCopy": "Copy",
"contributeOpen": "Open",
"contributeSource": "Contribute to source",
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/app_ms.arb
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@
}
},
"contributeShareSubject": "Berkongsi Aplikasi Waktu Solat",
"contributeCoffee": "Belikan saya kopi?",
"contributeCoffeeDesc": "Anda boleh menyumbang seberapa jumlah yang anda mahu, dan kami menghargai sokongan anda.",
"contributeCopy": "Salin",
"contributeOpen": "Buka",
"contributeSource": "Sumbang ke kod sumber",
Expand Down
25 changes: 0 additions & 25 deletions lib/views/contribution_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,31 +45,6 @@ class ContributionPage extends StatelessWidget {
],
),
const Divider(),
_MyCard(
title: AppLocalizations.of(context)!.contributeCoffee,
description: AppLocalizations.of(context)!.contributeCoffeeDesc,
extraDescription:
'${constants.kBankAccountNum} - Maybank (Muhammad Fareez)',
actions: [
TextButton(
onPressed: () {
copyClipboard(context, constants.kBankAccountNum);
},
child: Text(AppLocalizations.of(context)!.contributeCopy),
)
],
),
// MyCard(
// title: AppLocalizations.of(context)!.contributeCoffee,
// description:
// '${constants.kBankAccountNum} - Muhammad Fareez Iqmal (Maybank)',
// buttonContent: [
// ButtonContent(
// AppLocalizations.of(context)!.contributeCopy,
// () => copyClipboard(context, constants.kBankAccountNum),
// ),
// ],
// ),
_MyCard(
title: AppLocalizations.of(context)!.contributeSource,
description: AppLocalizations.of(context)!.contributeSourceDesc,
Expand Down
7 changes: 6 additions & 1 deletion lib/views/tasbih.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ class _TasbihState extends State<Tasbih> {
icon: TasbihBead(
gradientColor:
TasbihColors.beadDesigns()[e].gradient),
label: Text(TasbihColors.beadDesigns()[e].name),
label: Text(TasbihColors.beadDesigns()[e].name,
style: TextStyle(
color: Theme.of(context)
.textTheme
.bodyLarge!
.color)),
onPressed: null,
),
),
Expand Down
13 changes: 0 additions & 13 deletions lib/views/zone_chooser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -416,19 +416,6 @@ class ZoneErrorWidget extends StatelessWidget {
),
),
),
Expanded(
flex: 1,
child: Center(
child: Text(
errorMessage,
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).colorScheme.error,
fontSize: 10,
fontStyle: FontStyle.italic),
),
),
),
Expanded(
flex: 1,
child: Row(
Expand Down
56 changes: 28 additions & 28 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: transitive
description:
name: _flutterfire_internals
sha256: "330d7fcbb72624f5b6d374af8b059b0ef4ba96ba5b8987f874964a1287eb617d"
sha256: f175bc1414e4edf8c5b83372c98eeabecf8353f39c9da423c2cfdf1f1f508788
url: "https://pub.dev"
source: hosted
version: "1.0.18"
version: "1.1.0"
app_settings:
dependency: "direct main"
description:
Expand Down Expand Up @@ -190,66 +190,66 @@ packages:
dependency: "direct main"
description:
name: firebase_analytics
sha256: "48202f083e63ec56e00d27bf4bab5600c73d850134bcda262e3b9634ac841826"
sha256: acba5361bdc2b2f711c47ae09171d9864c1e5f46156ec5ad8c4ce619dc55b968
url: "https://pub.dev"
source: hosted
version: "10.1.6"
version: "10.2.0"
firebase_analytics_platform_interface:
dependency: transitive
description:
name: firebase_analytics_platform_interface
sha256: "56bc6da503e4536d5c4d0ab41f25fb9fe58379b4f9bac5af9b091735764a141c"
sha256: "5019bb18deed5b92e0f22b11b496e8265548034179e55ac7a12987fabf133d16"
url: "https://pub.dev"
source: hosted
version: "3.3.23"
version: "3.4.0"
firebase_analytics_web:
dependency: transitive
description:
name: firebase_analytics_web
sha256: "58f8992a4661dec1671255d31d4755721456aad07ae00b49ae303a8afcbc739c"
sha256: "5bcdf3a63d1c6fe2426e22252b41d8579b8b7dd121225bcd623f4920d4cef4f9"
url: "https://pub.dev"
source: hosted
version: "0.5.1+14"
version: "0.5.2"
firebase_core:
dependency: "direct main"
description:
name: firebase_core
sha256: "75f747cafd7cbd6c00b908e3a7aa59fc31593d46ba8165d9ee8a79e69464a394"
sha256: ed611fb8e67e43ecc7956f242cecca383d87cf71aace27287aa5dd4bdba4ac07
url: "https://pub.dev"
source: hosted
version: "2.8.0"
version: "2.9.0"
firebase_core_platform_interface:
dependency: transitive
description:
name: firebase_core_platform_interface
sha256: "5615b30c36f55b2777d0533771deda7e5730e769e5d3cb7fda79e9bed86cfa55"
sha256: "0df0a064ab0cad7f8836291ca6f3272edd7b83ad5b3540478ee46a0849d8022b"
url: "https://pub.dev"
source: hosted
version: "4.5.3"
version: "4.6.0"
firebase_core_web:
dependency: transitive
description:
name: firebase_core_web
sha256: "0c1cf1f1022d2245ac117443bb95207952ca770281524d2908e323bc063fb8ff"
sha256: "347351a8f0518f3343d79a9a0690fa67ad232fc32e2ea270677791949eac792b"
url: "https://pub.dev"
source: hosted
version: "2.2.2"
version: "2.3.0"
firebase_crashlytics:
dependency: "direct main"
description:
name: firebase_crashlytics
sha256: "5410b6ab2009fc6c181ca82e16525fdcb324c5851933bfbb49246543b1005ebc"
sha256: "42cf6a137eaae7e485e6cc9794336e8e518c506b691aa6e19ff918206c535bec"
url: "https://pub.dev"
source: hosted
version: "3.0.17"
version: "3.1.0"
firebase_crashlytics_platform_interface:
dependency: transitive
description:
name: firebase_crashlytics_platform_interface
sha256: bf3d3791c51a8448413b5ebd8388fa7db239a3e165db6bbd8ab58ef0e8f61906
sha256: baa4c3d4af426d29800f0d80d165f31df4548985db151fd761346e07ed433d31
url: "https://pub.dev"
source: hosted
version: "3.3.17"
version: "3.4.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -539,10 +539,10 @@ packages:
dependency: "direct main"
description:
name: google_mobile_ads
sha256: "7a39fe63007764115395550fc3eaf0d469de685298208040138c373d5444ab48"
sha256: "010b7a7a81b5c8f760eb2e5add8eaa7e429b4982dc8c8e465b709611f52887be"
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "2.4.0"
grouped_list:
dependency: "direct main"
description:
Expand Down Expand Up @@ -619,10 +619,10 @@ packages:
dependency: transitive
description:
name: markdown
sha256: b3c60dee8c2af50ad0e6e90cceba98e47718a6ee0a7a6772c77846a0cc21f78b
sha256: d95a9d12954aafc97f984ca29baaa7690ed4d9ec4140a23ad40580bcdb6c87f5
url: "https://pub.dev"
source: hosted
version: "7.0.1"
version: "7.0.2"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -707,10 +707,10 @@ packages:
dependency: transitive
description:
name: path_provider
sha256: "04890b994ee89bfa80bf3080bfec40d5a92c5c7a785ebb02c13084a099d2b6f9"
sha256: c7edf82217d4b2952b2129a61d3ad60f1075b9299e629e149a8d2e39c2e6aad4
url: "https://pub.dev"
source: hosted
version: "2.0.13"
version: "2.0.14"
path_provider_android:
dependency: transitive
description:
Expand All @@ -723,10 +723,10 @@ packages:
dependency: transitive
description:
name: path_provider_foundation
sha256: "12eee51abdf4d34c590f043f45073adbb45514a108bd9db4491547a2fd891059"
sha256: "818b2dc38b0f178e0ea3f7cf3b28146faab11375985d815942a68eee11c2d0f7"
url: "https://pub.dev"
source: hosted
version: "2.2.0"
version: "2.2.1"
path_provider_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -976,10 +976,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: "845530e5e05db5500c1a4c1446785d60cbd8f9bd45e21e7dd643a3273bb4bbd1"
sha256: dd729390aa936bf1bdf5cd1bc7468ff340263f80a2c4f569416507667de8e3c8
url: "https://pub.dev"
source: hosted
version: "6.0.25"
version: "6.0.26"
url_launcher_ios:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: App waktu solat seluruh Malaysia

publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 2.7.5+121
version: 2.7.6+122

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit 23ffa88

Please sign in to comment.