MangaSwat: Update RESTART string (#11491)

This commit is contained in:
Smol Ame 2025-11-08 16:07:45 -08:00 committed by Draff
parent 8367f924ad
commit 399540fda3
Signed by: Draff
GPG Key ID: E8A89F3211677653

View File

@ -197,7 +197,7 @@ class MangaSwat :
)
companion object {
private const val RESTART_TACHIYOMI = "Restart Tachiyomi to apply new setting."
private const val RESTART_APP = "Restart the app to apply the new URL"
private const val BASE_URL_PREF_TITLE = "Override BaseUrl"
private const val BASE_URL_PREF = "overrideBaseUrl"
private const val BASE_URL_PREF_SUMMARY = "For temporary uses. Updating the extension will erase this setting."
@ -214,7 +214,7 @@ class MangaSwat :
dialogMessage = "Default: ${super.baseUrl}"
setOnPreferenceChangeListener { _, _ ->
Toast.makeText(screen.context, RESTART_TACHIYOMI, Toast.LENGTH_LONG).show()
Toast.makeText(screen.context, RESTART_APP, Toast.LENGTH_LONG).show()
true
}
}