Update app/src/main/java/org/mozilla/fenix/HomeActivity.kt
Co-authored-by: Tiger Oakes <contact@tigeroakes.com>master
parent
bab0f9d95b
commit
5d9fdd6266
|
@ -317,7 +317,9 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
|
|||
else -> super.onCreateView(parent, name, context, attrs)
|
||||
}
|
||||
|
||||
private fun actionSorter(actions: Array<String>) : Array<String> {
|
||||
@Suppress("MagicNumber")
|
||||
// Defining the positions as constants doesn't seem super useful here.
|
||||
private fun actionSorter(actions: Array<String>): Array<String> {
|
||||
val order = hashMapOf<String, Int>()
|
||||
|
||||
order["org.mozilla.geckoview.COPY"] = 0
|
||||
|
|
Loading…
Reference in New Issue