Removed unused menu files
This commit is contained in:
@ -625,7 +625,6 @@ class ChatsActivity: ComponentActivity() {
|
||||
}
|
||||
|
||||
private fun makeChat(chatPeer: String) {
|
||||
|
||||
val peerUri = if (Utils.isTelNumber(chatPeer))
|
||||
"tel:$chatPeer"
|
||||
else
|
||||
@ -666,11 +665,6 @@ class ChatsActivity: ComponentActivity() {
|
||||
_uaMessages.value = uaMessages(aor)
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
menuInflater.inflate(R.menu.chats_menu, menu)
|
||||
return true
|
||||
}
|
||||
|
||||
private fun goBack() {
|
||||
BaresipService.activities.remove("chats,$aor")
|
||||
returnResult()
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:id="@+id/delete_history"
|
||||
android:title="@string/delete_history" />
|
||||
|
||||
<item android:id="@+id/history_on_off"
|
||||
android:title="" />
|
||||
|
||||
</menu>
|
||||
@ -1,6 +0,0 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:id="@+id/delete_chats"
|
||||
android:title="@string/delete_chats" />
|
||||
|
||||
</menu>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/speakerIcon"
|
||||
android:title=""
|
||||
app:showAsAction="always"
|
||||
android:icon="@drawable/speaker_off"
|
||||
/>
|
||||
|
||||
</menu>
|
||||
Reference in New Issue
Block a user