Skip to content

Commit 9bb916a

Browse files
rob729iamareebjamal
authored andcommitted
fix: Shimmer layout appears when switching back to SkillListing… (#2466)
1 parent 3abf183 commit 9bb916a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/org/fossasia/susi/ai/skills/skilllisting/SkillListingFragment.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,8 @@ class SkillListingFragment : Fragment(), ISkillListingView, SwipeRefreshLayout.O
137137
override fun onResume() {
138138
super.onResume()
139139
activity?.title = getString(R.string.skills_activity)
140+
if (skills.isNotEmpty()) {
141+
shimmer_view_container.visibility = View.GONE
142+
}
140143
}
141144
}

0 commit comments

Comments
 (0)