mirror of
https://github.com/Corewala/Buran
synced 2024-12-22 07:42:43 +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}")
|
showAlert("${GeminiResponse.getCodeString(state.header.code)}:\n\n${state.header.meta}")
|
||||||
}
|
}
|
||||||
is GemState.ResponseGemtext -> {
|
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)) {
|
Snackbar.make(binding.root, getString(R.string.proxied_content), Snackbar.LENGTH_LONG).setAction(getString(R.string.open_original)) {
|
||||||
externalProtocol(state.uri)
|
externalProtocol(state.uri)
|
||||||
}.show()
|
}.show()
|
||||||
|
|
Loading…
Reference in a new issue