Fixup convert to kotlin

This commit is contained in:
tarsin committed 2023-01-01 15:34:06 +08:00
1 parent 21c8d24d57
commit 023175ce6d
1 file changed
+2 -2
@@ -399,9 +399,9 @@ class FabLayout @JvmOverloads constructor(
return state
}
public override fun onRestoreInstanceState(state: Parcelable) {
override fun onRestoreInstanceState(state: Parcelable) {
if (state is Bundle) {
super.onRestoreInstanceState(state.getBundle(STATE_KEY_SUPER))
super.onRestoreInstanceState(state.getParcelable(STATE_KEY_SUPER))
setAutoCancel(state.getBoolean(STATE_KEY_AUTO_CANCEL))
setExpanded(state.getBoolean(STATE_KEY_EXPANDED), false)
}