1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2024-12-21 23:32:40 +00:00

Fixed snackbar on proxied content

This commit is contained in:
Corewala 2022-07-26 12:31:04 -04:00
parent 4a451ef5ca
commit 79a3564569

View file

@ -512,7 +512,7 @@ class GemActivity : AppCompatActivity() {
showAlert("${GeminiResponse.getCodeString(state.header.code)}:\n\n${state.header.meta}")
}
is GemState.ResponseGemtext -> {
if(state.uri.scheme != "gemini://"){
if(state.uri.scheme != "gemini"){
Snackbar.make(binding.root, getString(R.string.proxied_content), Snackbar.LENGTH_LONG).setAction(getString(R.string.open_original)) {
externalProtocol(state.uri)
}.show()