fix: half cut text story (thanks to shivam)

This commit is contained in:
aayush262
2024-05-29 01:59:13 +05:30
parent 11655bd38d
commit 6ce41b8fbb
21 changed files with 199 additions and 83 deletions

View File

@@ -101,7 +101,7 @@ class StatusActivity : AppCompatActivity(), StoriesCallback {
override fun onStoriesStart() {
position -= 1
if (position >= 0) {
if (position >= 0 && activity[position].activity.isNotEmpty()) {
val key = "activities"
val watchedActivity = PrefManager.getCustomVal<Set<Int>>(key, setOf())
val startFrom = findFirstNonMatch(watchedActivity, activity[position].activity )