2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
This commit is contained in:
Jeff Boek 2019-06-10 15:04:30 -07:00
parent 3b1ab8dac1
commit ed5a0b2c03
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,6 @@ package org.mozilla.fenix.settings
import android.content.Context
import android.util.AttributeSet
import android.widget.CompoundButton
import androidx.preference.PreferenceViewHolder
import mozilla.components.browser.search.SearchEngine
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.components

View File

@ -80,7 +80,7 @@ abstract class SearchEngineListPreference : Preference, CompoundButton.OnChecked
// https://github.com/mozilla-mobile/android-components/issues/3344
val defaultSearchEngine = context.components.search.searchEngineManager.getDefaultSearchEngine(
context,
"."
THIS_IS_A_HACK_FIX_ME
)
val selectedSearchEngine =
@ -153,4 +153,8 @@ abstract class SearchEngineListPreference : Preference, CompoundButton.OnChecked
}
}
}
companion object {
private const val THIS_IS_A_HACK_FIX_ME = "."
}
}