Fix gallery preview not being restored

This commit is contained in:
FooIbar authored and tarsin committed 2023-04-05 10:05:16 +08:00
1 parent ec027d3d98
commit 817ed1ce8f
1 file changed
+1
@@ -776,6 +776,7 @@ class ContentLayout(context: Context, attrs: AttributeSet? = null) : FrameLayout
mPrev = state.getString(KEY_PREV)
mNext = state.getString(KEY_NEXT)
notifyDataSetChanged()
notifyDataSetChanged {}
if (newData == null) {
mPageDivider.clear()
mStartPage = 0