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:
parent
4a451ef5ca
commit
79a3564569
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue