mirror of
https://git.sr.ht/~oppen/ariane
synced 2024-12-21 23:44:30 +00:00
remove backlink menu option
This commit is contained in:
parent
3278f6358c
commit
244459b3c3
3 changed files with 3 additions and 11 deletions
|
@ -23,5 +23,7 @@ class Ariane: Application() {
|
|||
const val DEFAULT_HOME_CAPSULE = "gemini://gemini.circumlunar.space/~oppen/index.gmi"
|
||||
const val GEMINI_USER_SEARCH_BASE = "gemini://gus.guru/search?"
|
||||
const val GEMINI_BACKLINK_BASE = "gemini://gus.guru/backlinks?"
|
||||
|
||||
const val FEATURE_CLIENT_CERTS = true
|
||||
}
|
||||
}
|
|
@ -202,11 +202,6 @@ class GemActivity : AppCompatActivity() {
|
|||
model.request(bookmark.uri)
|
||||
}.show()
|
||||
}
|
||||
R.id.overflow_menu_backlinks -> {
|
||||
val currentAddress = binding.addressEdit.text.toString()
|
||||
val backlinkAddress = "${Ariane.GEMINI_BACKLINK_BASE}$currentAddress"
|
||||
model.request(backlinkAddress)
|
||||
}
|
||||
R.id.overflow_menu_share -> {
|
||||
Intent().apply {
|
||||
action = Intent.ACTION_SEND
|
||||
|
|
|
@ -17,17 +17,12 @@
|
|||
android:id="@+id/overflow_menu_history"
|
||||
android:title="@string/history"
|
||||
android:icon="@drawable/vector_history"/>
|
||||
</group>
|
||||
<group android:id="@+id/page" >
|
||||
<item
|
||||
android:id="@+id/overflow_menu_share"
|
||||
android:title="@string/share"
|
||||
android:icon="@drawable/vector_share"/>
|
||||
<item
|
||||
android:id="@+id/overflow_menu_backlinks"
|
||||
android:title="@string/page_backlinks"
|
||||
android:icon="@drawable/vector_link"/>
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/other" >
|
||||
<item
|
||||
android:id="@+id/overflow_menu_settings"
|
||||
|
|
Loading…
Reference in a new issue