Reader actovoty thele set right. Fixes #142.

This commit is contained in:
Amine Bou 2017-12-05 19:59:18 +01:00
parent bd08b8aba3
commit 3a28772096
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@
- Completed Dutch and Indonesian translation !
- Fixed #142.
- Changed versions handling.
**1.5.4.22**

View File

@ -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<Item>("allItems")