diff --git a/README.md b/README.md index a72536d1..6882900d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- Dantotsu Banner + Dantotsu Banner

@@ -43,6 +43,20 @@ Dantotsu is crafted from the ashes of Saikou and is based on simplistic yet stat - **AVAILABLE MANGA SOURCES:** None built-in! Add your own extensions in the settings menu. (Dantotsu has no affiliation with any of the extensions) +## Screenshots 📸 + +Here are some screenshots of Dantotsu: + +

+ Screenshot 1 + Screenshot 2 +

+ +

+ Screenshot 3 + Screenshot 4 +

+ ## PLANNED STUFF 📝 - TV Support 📺 @@ -69,9 +83,10 @@ You can come hang out with our awesome community, request new features, and repo

-### VISIT FOR MORE INFORMATION 🌐 +### VISIT OUR WEBSITE FOR MORE INFORMATION 🌐 + +[![Click to Visit](https://img.shields.io/badge/Click%20to%20Visit-%23A800D9?style=for-the-badge&logo=github)](https://dantotsu.app/) -No website yet (WIP)😔 ## DISCLAIMER 🚫 diff --git a/app/src/main/java/ani/dantotsu/media/anime/SelectorDialogFragment.kt b/app/src/main/java/ani/dantotsu/media/anime/SelectorDialogFragment.kt index a9761811..3690a276 100644 --- a/app/src/main/java/ani/dantotsu/media/anime/SelectorDialogFragment.kt +++ b/app/src/main/java/ani/dantotsu/media/anime/SelectorDialogFragment.kt @@ -244,7 +244,8 @@ class SelectorDialogFragment : BottomSheetDialogFragment() { if (video.format == VideoType.CONTAINER) { binding.urlSize.visibility = if (video.size != null) View.VISIBLE else View.GONE binding.urlSize.text = - (if (video.extraNote != null) " : " else "") + DecimalFormat("#.##").format(video.size ?: 0).toString() + " MB" + // if video size is null or 0, show "Unknown Size" else show the size in MB + (if (video.extraNote != null) " : " else "") + (if (video.size == 0) "Unknown Size" else (DecimalFormat("#.##").format(video.size ?: 0).toString()+ " MB")) } else { binding.urlQuality.text = "Multi Quality" diff --git a/app/src/main/res/drawable/ic_round_no_icon.xml b/app/src/main/res/drawable/ic_round_no_icon.xml new file mode 100644 index 00000000..dd5404b1 --- /dev/null +++ b/app/src/main/res/drawable/ic_round_no_icon.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index c2a01baa..27c00fce 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -519,7 +519,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:checked="false" - android:drawableStart="@drawable/ic_round_new_releases_24" + android:drawableStart="@drawable/ic_round_no_icon" android:drawablePadding="16dp" android:elegantTextHeight="true" android:fontFamily="@font/poppins_bold" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4653204f..3b52f524 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -624,7 +624,7 @@ View Manga Force Legacy Installer Extensions - skip loading extension icons + Skip loading extension icons Use Material You Extension-specific DNS Theme: