mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-02-01 19:25:04 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user