quick fix (#116)
This commit is contained in:
parent
326b848e57
commit
f5297f4927
7 changed files with 20 additions and 23 deletions
|
@ -320,7 +320,7 @@ class AnimeWatchFragment : Fragment() {
|
|||
if (allSettings.isNotEmpty()) {
|
||||
var selectedSetting = allSettings[0]
|
||||
if (allSettings.size > 1) {
|
||||
val names = allSettings.sortedBy { it.lang }.map { LanguageMapper.mapLanguageCodeToName(it.lang) }.toTypedArray()
|
||||
val names = allSettings.map { LanguageMapper.mapLanguageCodeToName(it.lang) }.toTypedArray()
|
||||
var selectedIndex = 0
|
||||
val dialog = AlertDialog.Builder(requireContext() , R.style.MyPopup)
|
||||
.setTitle("Select a Source")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue