fix: idr
This commit is contained in:
parent
87535a9239
commit
9b6dc1318d
7 changed files with 90 additions and 95 deletions
|
@ -30,6 +30,16 @@ class Contributors {
|
|||
"Owner and Maintainer",
|
||||
first.htmlUrl
|
||||
)
|
||||
)
|
||||
}
|
||||
res.filter {it.login != "rebelonion"}.forEach {
|
||||
developers = developers.plus(
|
||||
Developer(
|
||||
it.login,
|
||||
it.avatarUrl,
|
||||
"Contributor",
|
||||
it.htmlUrl
|
||||
)
|
||||
).plus(arrayOf(
|
||||
Developer(
|
||||
"Wai What",
|
||||
|
@ -57,16 +67,6 @@ class Contributors {
|
|||
)
|
||||
))
|
||||
}
|
||||
res.filter {it.login != "rebelonion"}.forEach {
|
||||
developers = developers.plus(
|
||||
Developer(
|
||||
it.login,
|
||||
it.avatarUrl,
|
||||
"Contributor",
|
||||
it.htmlUrl
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
return developers
|
||||
}
|
||||
|
|
|
@ -33,7 +33,6 @@ class AuthorActivity : AppCompatActivity() {
|
|||
private val model: OtherDetailsViewModel by viewModels()
|
||||
private var author: Author? = null
|
||||
private var loaded = false
|
||||
private var isVoiceArtist: Boolean = false
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
|
|
|
@ -433,7 +433,6 @@ class SelectorDialogFragment : BottomSheetDialogFragment() {
|
|||
val episode = media!!.anime!!.episodes!![media!!.anime!!.selectedEpisode!!]!!
|
||||
val selectedVideo =
|
||||
if (extractor.videos.size > episode.selectedVideo) extractor.videos[episode.selectedVideo] else null
|
||||
val subtitles = extractor.subtitles
|
||||
val subtitleNames = subtitles.map { it.language }
|
||||
var subtitleToDownload: Subtitle? = null
|
||||
val activity = currActivity()?:requireActivity()
|
||||
|
|
|
@ -109,7 +109,7 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListene
|
|||
override fun handleOnBackPressed() = startMainActivity(this@SettingsActivity)
|
||||
}
|
||||
lateinit var binding: ActivitySettingsBinding
|
||||
lateinit var launcher: LauncherWrapper
|
||||
private lateinit var launcher: LauncherWrapper
|
||||
private lateinit var bindingAccounts: ActivitySettingsAccountsBinding
|
||||
private lateinit var bindingTheme: ActivitySettingsThemeBinding
|
||||
private lateinit var bindingExtensions: ActivitySettingsExtensionsBinding
|
||||
|
@ -230,7 +230,6 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListene
|
|||
PrefManager.getVal<String>(PrefName.AnilistUserName)
|
||||
)
|
||||
openLinkInBrowser(anilistLink)
|
||||
true
|
||||
}
|
||||
|
||||
settingsMALLoginRequired.visibility = View.GONE
|
||||
|
@ -251,7 +250,6 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListene
|
|||
it.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
|
||||
val myanilistLink = getString(R.string.myanilist_link, MAL.username)
|
||||
openLinkInBrowser(myanilistLink)
|
||||
true
|
||||
}
|
||||
} else {
|
||||
settingsMALAvatar.setImageResource(R.drawable.ic_round_person_24)
|
||||
|
@ -283,7 +281,6 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListene
|
|||
it.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
|
||||
val discordLink = getString(R.string.discord_link, id)
|
||||
openLinkInBrowser(discordLink)
|
||||
true
|
||||
}
|
||||
}
|
||||
settingsDiscordUsername.visibility = View.VISIBLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue