Addons (#368)
* feat: (wip) torrent credit to kuukiyomi * fix: extensions -> addons * fix: unified loader * feat: (wip) modularity * fix: addon ui * feat: addon install/uninstall --------- Co-authored-by: aayush262 <aayushthakur262006@gmail.com>
This commit is contained in:
parent
3d1040b280
commit
670d16bd8e
66 changed files with 1923 additions and 427 deletions
|
@ -2,6 +2,7 @@ package ani.dantotsu.settings
|
|||
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.TextView
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
|
@ -82,11 +83,13 @@ class SettingsAboutActivity : AppCompatActivity() {
|
|||
PrefManager.setVal(PrefName.LogToFile, isChecked)
|
||||
restartApp()
|
||||
},
|
||||
attach = {
|
||||
it.settingsDesc.setOnLongClickListener {
|
||||
attachToSwitch = {
|
||||
it.settingsExtraIcon.visibility = View.VISIBLE
|
||||
it.settingsExtraIcon.setImageResource(R.drawable.ic_round_share_24)
|
||||
it.settingsExtraIcon.setOnClickListener {
|
||||
Logger.shareLog(context)
|
||||
true
|
||||
}
|
||||
|
||||
}
|
||||
),
|
||||
Settings(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue