From 3a2877209689ba201750b8c0d1f2012fd0c17361 Mon Sep 17 00:00:00 2001 From: Amine Bou Date: Tue, 5 Dec 2017 19:59:18 +0100 Subject: [PATCH] Reader actovoty thele set right. Fixes #142. --- CHANGELOG.md | 2 ++ .../main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d5c0ab..b56a1ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ - Completed Dutch and Indonesian translation ! +- Fixed #142. + - Changed versions handling. **1.5.4.22** diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt index b00b196..2b06c18 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt @@ -6,6 +6,7 @@ import android.support.v4.app.FragmentStatePagerAdapter import android.support.v7.app.AppCompatActivity import apps.amine.bou.readerforselfoss.api.selfoss.Item import apps.amine.bou.readerforselfoss.fragments.ArticleFragment +import com.ftinc.scoop.Scoop import kotlinx.android.synthetic.main.activity_reader.* import me.relex.circleindicator.CircleIndicator @@ -15,6 +16,7 @@ class ReaderActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) + Scoop.getInstance().apply(this) setContentView(R.layout.activity_reader) allItems = intent.getParcelableArrayListExtra("allItems")