mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
commit
bd1a5831d9
@ -24,6 +24,7 @@ import androidx.preference.ListPreference
|
||||
import androidx.preference.Preference
|
||||
import androidx.preference.PreferenceFragmentCompat
|
||||
import androidx.preference.PreferenceManager
|
||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||
import java.io.IOException
|
||||
import java.io.InputStream
|
||||
import java.util.zip.ZipEntry
|
||||
@ -268,7 +269,7 @@ class SettingsActivity :
|
||||
} else {
|
||||
Html.fromHtml(licenseString)
|
||||
}
|
||||
AlertDialog.Builder(view?.context!!)
|
||||
MaterialAlertDialogBuilder(view?.context!!)
|
||||
.setPositiveButton(getString(R.string.okay), DialogInterface.OnClickListener { _, _ -> })
|
||||
.setMessage(licenseHtml)
|
||||
.create()
|
||||
|
Loading…
Reference in New Issue
Block a user