aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/topmanga
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 13:15:35 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 13:15:35 +0100
commita331388e01da0c6b6f53e86898ddde6123094e23 (patch)
treef90b9c30f8a27194b6fae2f93d5d6bb889287778 /app/src/main/java/xyz/adjutor/aniki/topmanga
parent75803b550cc5818aadc543083d053d455879cf44 (diff)
Cache for top animes
Also cleaned TopMangaPage
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topmanga')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt
index 0dd173c..1e52b7d 100644
--- a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt
@@ -37,7 +37,7 @@ class TopMangaPage : Fragment() {
// Inflate the layout for this fragment
val view = inflater.inflate(R.layout.top_manga_page, container, false)
- sharedPreferences = view.context.getSharedPreferences("app_aniki", Context.MODE_PRIVATE);
+ sharedPreferences = view.context.getSharedPreferences("app_aniki", Context.MODE_PRIVATE)
val mangaList: List<TopManga>? = getDataFromCache()
if(mangaList != null ){
@@ -117,9 +117,6 @@ class TopMangaPage : Fragment() {
?.edit()
?.putString("jsonMangaList", jsonString)
?.apply()
-
- Snackbar.make(requireView(), "KONO saveList DA !", Snackbar.LENGTH_LONG)
- .setAction("Action", null).show()
}
private fun showError() {