Skip to content

Commit

Permalink
Fix quick action none on tools tab
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Jan 27, 2024
1 parent 91c7d27 commit d66df54
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.kylecorry.trail_sense.shared.views

import android.widget.ImageButton
import androidx.core.view.isGone
import androidx.core.view.isInvisible
import androidx.fragment.app.Fragment
import com.kylecorry.trail_sense.shared.QuickActionButton
Expand All @@ -11,6 +12,6 @@ class QuickActionNone(button: ImageButton, fragment: Fragment) : QuickActionButt
) {
override fun onCreate() {
super.onCreate()
button.isInvisible = true
button.isGone = true
}
}

0 comments on commit d66df54

Please sign in to comment.