Compare commits
No commits in common. "a76fe20b0b1e420c28d1bdeb83dc703b971bb22f" and "f3e1fb7664a532f863fb047a86194dfcae5a1ee2" have entirely different histories.
a76fe20b0b
...
f3e1fb7664
@ -3,7 +3,6 @@ package eu.kanade.presentation.more.settings.screen
|
|||||||
import android.annotation.SuppressLint
|
import android.annotation.SuppressLint
|
||||||
import android.content.ActivityNotFoundException
|
import android.content.ActivityNotFoundException
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.os.Build
|
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.webkit.WebStorage
|
import android.webkit.WebStorage
|
||||||
import android.webkit.WebView
|
import android.webkit.WebView
|
||||||
@ -148,18 +147,9 @@ object SettingsAdvancedScreen : SearchableSettings {
|
|||||||
Preference.PreferenceItem.TextPreference(
|
Preference.PreferenceItem.TextPreference(
|
||||||
title = stringResource(MR.strings.pref_manage_notifications),
|
title = stringResource(MR.strings.pref_manage_notifications),
|
||||||
onClick = {
|
onClick = {
|
||||||
// SY -->
|
val intent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS).apply {
|
||||||
val intent = Intent().apply {
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
|
||||||
setAction(Settings.ACTION_APP_NOTIFICATION_SETTINGS)
|
|
||||||
putExtra(Settings.EXTRA_APP_PACKAGE, context.packageName)
|
putExtra(Settings.EXTRA_APP_PACKAGE, context.packageName)
|
||||||
} else {
|
|
||||||
setAction("android.settings.APP_NOTIFICATION_SETTINGS")
|
|
||||||
putExtra("app_package", context.packageName)
|
|
||||||
putExtra("app_uid", context.applicationInfo.uid)
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// SY <--
|
|
||||||
context.startActivity(intent)
|
context.startActivity(intent)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -597,7 +597,7 @@ object SettingsReaderScreen : SearchableSettings {
|
|||||||
title = stringResource(SYMR.strings.page_layout),
|
title = stringResource(SYMR.strings.page_layout),
|
||||||
subtitle = stringResource(SYMR.strings.automatic_can_still_switch),
|
subtitle = stringResource(SYMR.strings.automatic_can_still_switch),
|
||||||
entries = ReaderPreferences.PageLayouts
|
entries = ReaderPreferences.PageLayouts
|
||||||
.mapIndexed { index, it -> index to stringResource(it) }
|
.mapIndexed { index, it -> index + 1 to stringResource(it) }
|
||||||
.toMap()
|
.toMap()
|
||||||
.toImmutableMap(),
|
.toImmutableMap(),
|
||||||
),
|
),
|
||||||
|
@ -337,7 +337,6 @@ class AnilistApi(val client: OkHttpClient, interceptor: AnilistInterceptor) {
|
|||||||
|staff {
|
|staff {
|
||||||
|edges {
|
|edges {
|
||||||
|role
|
|role
|
||||||
|id
|
|
||||||
|node {
|
|node {
|
||||||
|name {
|
|name {
|
||||||
|userPreferred
|
|userPreferred
|
||||||
|
Loading…
x
Reference in New Issue
Block a user