Skip to content

Commit

Permalink
Added donate option
Browse files Browse the repository at this point in the history
  • Loading branch information
sheikhhaziq committed Sep 30, 2023
1 parent 9192ef1 commit a9b938c
Show file tree
Hide file tree
Showing 37 changed files with 618 additions and 161 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ migrate_working_dir/
.pub/
/build/
**/lib/config.dart
**/lib/screens/settings/payment_screen.dart

# Symbolication related
app.*.symbols
Expand Down
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ repositories {
dependencies {
implementation 'androidx.window:window:1.0.0'
implementation 'androidx.window:window-java:1.0.0'
implementation "dev.shreyaspatil.EasyUpiPayment:EasyUpiPayment:3.0.3"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.2'
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.jhelum.gyawun

import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.android.FlutterFragmentActivity

class MainActivity: FlutterActivity() {
}
Binary file added assets/images/coffee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kofi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/razor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/upi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/components/home_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _HomeSectionState extends State<HomeSection> {
context.read<MediaManager>().addAndPlay(sectionitems,
initialIndex: sectionitems.indexOf(song));
} else if (song['type'] == 'radio_station') {
ShowSnackBar().showSnackBar(
ShowSnackBar.showSnackBar(
context,
'Connecting Radio...',
duration: const Duration(seconds: 3),
Expand Down
7 changes: 7 additions & 0 deletions lib/generated/intl/messages_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MessageLookup extends MessageLookupByLibrary {
"addToQueue" : MessageLookupByLibrary.simpleMessage("إضافة إلى قائمة الانتظار"),
"appearence" : MessageLookupByLibrary.simpleMessage("المظهر"),
"bugReport" : MessageLookupByLibrary.simpleMessage("تقرير الشوائب"),
"buyMeACoffee" : MessageLookupByLibrary.simpleMessage("اشتري لي قهوة"),
"cancel" : MessageLookupByLibrary.simpleMessage("يلغي"),
"clearPlaybackCache" : MessageLookupByLibrary.simpleMessage("مسح ذاكرة التخزين المؤقت للتشغيل"),
"clearPlaybackCacheDialogText" : MessageLookupByLibrary.simpleMessage("هل أنت متأكد أنك تريد مسح ذاكرة التخزين المؤقت للتشغيل."),
Expand All @@ -38,6 +39,8 @@ class MessageLookup extends MessageLookupByLibrary {
"deletePlaybackHistoryDialogText" : MessageLookupByLibrary.simpleMessage("هل أنت متأكد أنك تريد حذف محفوظات التشغيل؟"),
"deletePlaybackHistoryText" : MessageLookupByLibrary.simpleMessage("تعتمد التوصيات على سجل التشغيل"),
"developer" : MessageLookupByLibrary.simpleMessage("مطور"),
"donate" : MessageLookupByLibrary.simpleMessage("تبرع"),
"donateSubtitle" : MessageLookupByLibrary.simpleMessage("دعم تطوير جياون"),
"done" : MessageLookupByLibrary.simpleMessage("منتهي"),
"download" : MessageLookupByLibrary.simpleMessage("تحميل"),
"downloadQuality" : MessageLookupByLibrary.simpleMessage("تحميل الجودة"),
Expand All @@ -49,6 +52,7 @@ class MessageLookup extends MessageLookupByLibrary {
"equalizer" : MessageLookupByLibrary.simpleMessage("المعادل"),
"favorites" : MessageLookupByLibrary.simpleMessage("المفضلة"),
"featureRequest" : MessageLookupByLibrary.simpleMessage("طلب المواصفات"),
"gyawun" : MessageLookupByLibrary.simpleMessage("جياون"),
"high" : MessageLookupByLibrary.simpleMessage("عالي"),
"history" : MessageLookupByLibrary.simpleMessage("تاريخ"),
"home" : MessageLookupByLibrary.simpleMessage("بيت"),
Expand All @@ -58,6 +62,7 @@ class MessageLookup extends MessageLookupByLibrary {
"loudnessAndEqualizer" : MessageLookupByLibrary.simpleMessage("جهارة الصوت والمعادل"),
"loudnessEnhancer" : MessageLookupByLibrary.simpleMessage("محسن جهارة الصوت"),
"low" : MessageLookupByLibrary.simpleMessage("قليل"),
"madeInKashmir" : MessageLookupByLibrary.simpleMessage("صنع في كشمير"),
"materialColors" : MessageLookupByLibrary.simpleMessage("ألوان المواد"),
"medium" : MessageLookupByLibrary.simpleMessage("واسطة"),
"musicAndPlayback" : MessageLookupByLibrary.simpleMessage("الموسيقى والتشغيل"),
Expand All @@ -66,6 +71,7 @@ class MessageLookup extends MessageLookupByLibrary {
"nothingInHere" : MessageLookupByLibrary.simpleMessage("لا شيء هنا"),
"ok" : MessageLookupByLibrary.simpleMessage("نعم"),
"organisation" : MessageLookupByLibrary.simpleMessage("منظمة"),
"paymentMethods" : MessageLookupByLibrary.simpleMessage("طرق الدفع"),
"pitchBlack" : MessageLookupByLibrary.simpleMessage("شديد السواد"),
"playAll" : MessageLookupByLibrary.simpleMessage("لعب كل"),
"playNext" : MessageLookupByLibrary.simpleMessage("العب التالي"),
Expand All @@ -88,6 +94,7 @@ class MessageLookup extends MessageLookupByLibrary {
"songs" : MessageLookupByLibrary.simpleMessage("الأغاني"),
"sourceCode" : MessageLookupByLibrary.simpleMessage("مصدر الرمز"),
"streamingQuality" : MessageLookupByLibrary.simpleMessage("جودة البث"),
"supportMeOnKofi" : MessageLookupByLibrary.simpleMessage("دعمني على Ko-fi"),
"telegram" : MessageLookupByLibrary.simpleMessage("برقية"),
"themeMode" : MessageLookupByLibrary.simpleMessage("وضع الموضوع"),
"title" : MessageLookupByLibrary.simpleMessage("عنوان"),
Expand Down
7 changes: 7 additions & 0 deletions lib/generated/intl/messages_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MessageLookup extends MessageLookupByLibrary {
"addToQueue" : MessageLookupByLibrary.simpleMessage("Zur Warteschlange hinzufügen"),
"appearence" : MessageLookupByLibrary.simpleMessage("Erscheinungsbild"),
"bugReport" : MessageLookupByLibrary.simpleMessage("Fehlerbericht"),
"buyMeACoffee" : MessageLookupByLibrary.simpleMessage("Kauf mir einen Kaffee"),
"cancel" : MessageLookupByLibrary.simpleMessage("Abbrechen"),
"clearPlaybackCache" : MessageLookupByLibrary.simpleMessage("Wiedergabecache löschen"),
"clearPlaybackCacheDialogText" : MessageLookupByLibrary.simpleMessage("Möchten Sie den Wiedergabecache wirklich löschen?"),
Expand All @@ -38,6 +39,8 @@ class MessageLookup extends MessageLookupByLibrary {
"deletePlaybackHistoryDialogText" : MessageLookupByLibrary.simpleMessage("Möchten Sie den Wiedergabeverlauf wirklich löschen?"),
"deletePlaybackHistoryText" : MessageLookupByLibrary.simpleMessage("Empfehlungen basieren auf dem Wiedergabeverlauf"),
"developer" : MessageLookupByLibrary.simpleMessage("Entwickler"),
"donate" : MessageLookupByLibrary.simpleMessage("Spenden"),
"donateSubtitle" : MessageLookupByLibrary.simpleMessage("Unterstützen Sie die Entwicklung von Gyawun"),
"done" : MessageLookupByLibrary.simpleMessage("Fertig"),
"download" : MessageLookupByLibrary.simpleMessage("Herunterladen"),
"downloadQuality" : MessageLookupByLibrary.simpleMessage("Download-Qualität"),
Expand All @@ -49,6 +52,7 @@ class MessageLookup extends MessageLookupByLibrary {
"equalizer" : MessageLookupByLibrary.simpleMessage("Equalizer"),
"favorites" : MessageLookupByLibrary.simpleMessage("Favoriten"),
"featureRequest" : MessageLookupByLibrary.simpleMessage("Funktionsanfrage"),
"gyawun" : MessageLookupByLibrary.simpleMessage("Gyawun"),
"high" : MessageLookupByLibrary.simpleMessage("Hoch"),
"history" : MessageLookupByLibrary.simpleMessage("Verlauf"),
"home" : MessageLookupByLibrary.simpleMessage("Startseite"),
Expand All @@ -58,6 +62,7 @@ class MessageLookup extends MessageLookupByLibrary {
"loudnessAndEqualizer" : MessageLookupByLibrary.simpleMessage("Lautstärke und Equalizer"),
"loudnessEnhancer" : MessageLookupByLibrary.simpleMessage("Lautstärke-Verstärker"),
"low" : MessageLookupByLibrary.simpleMessage("Niedrig"),
"madeInKashmir" : MessageLookupByLibrary.simpleMessage("Hergestellt in Kaschmir"),
"materialColors" : MessageLookupByLibrary.simpleMessage("Materialfarben"),
"medium" : MessageLookupByLibrary.simpleMessage("Mittel"),
"musicAndPlayback" : MessageLookupByLibrary.simpleMessage("Musik und Wiedergabe"),
Expand All @@ -66,6 +71,7 @@ class MessageLookup extends MessageLookupByLibrary {
"nothingInHere" : MessageLookupByLibrary.simpleMessage("Nichts hier"),
"ok" : MessageLookupByLibrary.simpleMessage("OK"),
"organisation" : MessageLookupByLibrary.simpleMessage("Organisation"),
"paymentMethods" : MessageLookupByLibrary.simpleMessage("Zahlungsmethoden"),
"pitchBlack" : MessageLookupByLibrary.simpleMessage("Tiefschwarz"),
"playAll" : MessageLookupByLibrary.simpleMessage("Alle abspielen"),
"playNext" : MessageLookupByLibrary.simpleMessage("Als nächstes abspielen"),
Expand All @@ -88,6 +94,7 @@ class MessageLookup extends MessageLookupByLibrary {
"songs" : MessageLookupByLibrary.simpleMessage("Lieder"),
"sourceCode" : MessageLookupByLibrary.simpleMessage("Quellcode"),
"streamingQuality" : MessageLookupByLibrary.simpleMessage("Streaming-Qualität"),
"supportMeOnKofi" : MessageLookupByLibrary.simpleMessage("Unterstütze mich auf Ko-fi"),
"telegram" : MessageLookupByLibrary.simpleMessage("Telegramm"),
"themeMode" : MessageLookupByLibrary.simpleMessage("Themenmodus"),
"title" : MessageLookupByLibrary.simpleMessage("Titel"),
Expand Down
7 changes: 7 additions & 0 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MessageLookup extends MessageLookupByLibrary {
"addToQueue" : MessageLookupByLibrary.simpleMessage("Add To Queue"),
"appearence" : MessageLookupByLibrary.simpleMessage("Appearence"),
"bugReport" : MessageLookupByLibrary.simpleMessage("Bug Report"),
"buyMeACoffee" : MessageLookupByLibrary.simpleMessage("Buy me a Coffee"),
"cancel" : MessageLookupByLibrary.simpleMessage("Cancel"),
"clearPlaybackCache" : MessageLookupByLibrary.simpleMessage("Clear Playback Cache"),
"clearPlaybackCacheDialogText" : MessageLookupByLibrary.simpleMessage("Are you sure you want to clear playback cache."),
Expand All @@ -38,6 +39,8 @@ class MessageLookup extends MessageLookupByLibrary {
"deletePlaybackHistoryDialogText" : MessageLookupByLibrary.simpleMessage("Are you sure you want to delete Playback History."),
"deletePlaybackHistoryText" : MessageLookupByLibrary.simpleMessage("Recommendations are based on Playback History"),
"developer" : MessageLookupByLibrary.simpleMessage("Developer"),
"donate" : MessageLookupByLibrary.simpleMessage("Donate"),
"donateSubtitle" : MessageLookupByLibrary.simpleMessage("Support the development of Gyawun"),
"done" : MessageLookupByLibrary.simpleMessage("Done"),
"download" : MessageLookupByLibrary.simpleMessage("Download"),
"downloadQuality" : MessageLookupByLibrary.simpleMessage("Download Quality"),
Expand All @@ -49,6 +52,7 @@ class MessageLookup extends MessageLookupByLibrary {
"equalizer" : MessageLookupByLibrary.simpleMessage("Equalizer"),
"favorites" : MessageLookupByLibrary.simpleMessage("Favorites"),
"featureRequest" : MessageLookupByLibrary.simpleMessage("Feature Request"),
"gyawun" : MessageLookupByLibrary.simpleMessage("Gyawun"),
"high" : MessageLookupByLibrary.simpleMessage("High"),
"history" : MessageLookupByLibrary.simpleMessage("History"),
"home" : MessageLookupByLibrary.simpleMessage("Home"),
Expand All @@ -58,6 +62,7 @@ class MessageLookup extends MessageLookupByLibrary {
"loudnessAndEqualizer" : MessageLookupByLibrary.simpleMessage("loudness And Equalizer"),
"loudnessEnhancer" : MessageLookupByLibrary.simpleMessage("Loudness Enhancer"),
"low" : MessageLookupByLibrary.simpleMessage("Low"),
"madeInKashmir" : MessageLookupByLibrary.simpleMessage("Made in Kashmir"),
"materialColors" : MessageLookupByLibrary.simpleMessage("Material Colors"),
"medium" : MessageLookupByLibrary.simpleMessage("Medium"),
"musicAndPlayback" : MessageLookupByLibrary.simpleMessage("Music and Playback"),
Expand All @@ -66,6 +71,7 @@ class MessageLookup extends MessageLookupByLibrary {
"nothingInHere" : MessageLookupByLibrary.simpleMessage("Nothing in here"),
"ok" : MessageLookupByLibrary.simpleMessage("ok"),
"organisation" : MessageLookupByLibrary.simpleMessage("Organisation"),
"paymentMethods" : MessageLookupByLibrary.simpleMessage("Payment Methods"),
"pitchBlack" : MessageLookupByLibrary.simpleMessage("Pitch Black"),
"playAll" : MessageLookupByLibrary.simpleMessage("Play All"),
"playNext" : MessageLookupByLibrary.simpleMessage("play Next"),
Expand All @@ -88,6 +94,7 @@ class MessageLookup extends MessageLookupByLibrary {
"songs" : MessageLookupByLibrary.simpleMessage("songs"),
"sourceCode" : MessageLookupByLibrary.simpleMessage("Source Code"),
"streamingQuality" : MessageLookupByLibrary.simpleMessage("Streaming Quality"),
"supportMeOnKofi" : MessageLookupByLibrary.simpleMessage("Support me on Ko-fi"),
"telegram" : MessageLookupByLibrary.simpleMessage("Telegram"),
"themeMode" : MessageLookupByLibrary.simpleMessage("Theme Mode"),
"title" : MessageLookupByLibrary.simpleMessage("Title"),
Expand Down
7 changes: 7 additions & 0 deletions lib/generated/intl/messages_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MessageLookup extends MessageLookupByLibrary {
"addToQueue" : MessageLookupByLibrary.simpleMessage("Agregar a la cola"),
"appearence" : MessageLookupByLibrary.simpleMessage("Apariencia"),
"bugReport" : MessageLookupByLibrary.simpleMessage("Informe de errores"),
"buyMeACoffee" : MessageLookupByLibrary.simpleMessage("Cómprame un café"),
"cancel" : MessageLookupByLibrary.simpleMessage("Cancelar"),
"clearPlaybackCache" : MessageLookupByLibrary.simpleMessage("Borrar caché de reproducción"),
"clearPlaybackCacheDialogText" : MessageLookupByLibrary.simpleMessage("¿Está seguro de que desea borrar el caché de reproducción?"),
Expand All @@ -38,6 +39,8 @@ class MessageLookup extends MessageLookupByLibrary {
"deletePlaybackHistoryDialogText" : MessageLookupByLibrary.simpleMessage("¿Está seguro de que desea borrar el historial de reproducción?"),
"deletePlaybackHistoryText" : MessageLookupByLibrary.simpleMessage("Las recomendaciones se basan en el historial de reproducción"),
"developer" : MessageLookupByLibrary.simpleMessage("Desarrollador"),
"donate" : MessageLookupByLibrary.simpleMessage("Donar"),
"donateSubtitle" : MessageLookupByLibrary.simpleMessage("Apoye el desarrollo de Gyawun"),
"done" : MessageLookupByLibrary.simpleMessage("Hecho"),
"download" : MessageLookupByLibrary.simpleMessage("Descargar"),
"downloadQuality" : MessageLookupByLibrary.simpleMessage("Calidad de descarga"),
Expand All @@ -49,6 +52,7 @@ class MessageLookup extends MessageLookupByLibrary {
"equalizer" : MessageLookupByLibrary.simpleMessage("Igualada"),
"favorites" : MessageLookupByLibrary.simpleMessage("Favoritos"),
"featureRequest" : MessageLookupByLibrary.simpleMessage("Solicitud de funciones"),
"gyawun" : MessageLookupByLibrary.simpleMessage("Gyawun"),
"high" : MessageLookupByLibrary.simpleMessage("Alto"),
"history" : MessageLookupByLibrary.simpleMessage("Historial"),
"home" : MessageLookupByLibrary.simpleMessage("Inicio"),
Expand All @@ -58,6 +62,7 @@ class MessageLookup extends MessageLookupByLibrary {
"loudnessAndEqualizer" : MessageLookupByLibrary.simpleMessage("Sonoridad y ecualizador"),
"loudnessEnhancer" : MessageLookupByLibrary.simpleMessage("Mejora de volumen"),
"low" : MessageLookupByLibrary.simpleMessage("Bajo"),
"madeInKashmir" : MessageLookupByLibrary.simpleMessage("Hecho en Cachemira"),
"materialColors" : MessageLookupByLibrary.simpleMessage("Colores de material"),
"medium" : MessageLookupByLibrary.simpleMessage("Medio"),
"musicAndPlayback" : MessageLookupByLibrary.simpleMessage("Música y reproducción"),
Expand All @@ -66,6 +71,7 @@ class MessageLookup extends MessageLookupByLibrary {
"nothingInHere" : MessageLookupByLibrary.simpleMessage("Nada aquí"),
"ok" : MessageLookupByLibrary.simpleMessage("ok"),
"organisation" : MessageLookupByLibrary.simpleMessage("Organización"),
"paymentMethods" : MessageLookupByLibrary.simpleMessage("Métodos de pago"),
"pitchBlack" : MessageLookupByLibrary.simpleMessage("Negro absoluto"),
"playAll" : MessageLookupByLibrary.simpleMessage("Reproducir todo"),
"playNext" : MessageLookupByLibrary.simpleMessage("Reproducir siguiente"),
Expand All @@ -88,6 +94,7 @@ class MessageLookup extends MessageLookupByLibrary {
"songs" : MessageLookupByLibrary.simpleMessage("canciones"),
"sourceCode" : MessageLookupByLibrary.simpleMessage("Código fuente"),
"streamingQuality" : MessageLookupByLibrary.simpleMessage("Calidad de transmisión"),
"supportMeOnKofi" : MessageLookupByLibrary.simpleMessage("Apóyame en Ko-fi"),
"telegram" : MessageLookupByLibrary.simpleMessage("Telegram"),
"themeMode" : MessageLookupByLibrary.simpleMessage("Modo de tema"),
"title" : MessageLookupByLibrary.simpleMessage("Título"),
Expand Down
Loading

0 comments on commit a9b938c

Please sign in to comment.