Fixup convert to kotlin
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user