diff --git a/src/components/CallView/BottomBar.vue b/src/components/CallView/BottomBar.vue
index 4aeb3a7bc6d..db94cb38064 100644
--- a/src/components/CallView/BottomBar.vue
+++ b/src/components/CallView/BottomBar.vue
@@ -8,7 +8,6 @@ import {
showError,
} from '@nextcloud/dialogs'
import { t } from '@nextcloud/l10n'
-import { useIsMobile } from '@nextcloud/vue/composables/useIsMobile'
import { useResizeObserver } from '@vueuse/core'
import debounce from 'debounce'
import { computed, onMounted, onUnmounted, ref, toValue, useTemplateRef } from 'vue'
@@ -25,9 +24,9 @@ import IconSubtitles from 'vue-material-design-icons/Subtitles.vue'
import IconSubtitlesOutline from 'vue-material-design-icons/SubtitlesOutline.vue'
import IconViewGalleryOutline from 'vue-material-design-icons/ViewGalleryOutline.vue'
import IconViewGridOutline from 'vue-material-design-icons/ViewGridOutline.vue'
-import CallButton from '../TopBar/CallButton.vue'
import ReactionMenu from '../TopBar/ReactionMenu.vue'
import TopBarMediaControls from '../TopBar/TopBarMediaControls.vue'
+import CallEndLeaveButton from './CallEndLeaveButton.vue'
import {
toggleFullscreen,
useDocumentFullscreen,
@@ -60,7 +59,6 @@ const settingsStore = useSettingsStore()
const isLiveTranscriptionLoading = ref(false)
const bottomBar = useTemplateRef('bottomBar')
const callButtonWithActions = useTemplateRef('callButtonWithActions')
-const isMobile = useIsMobile()
const conversation = computed(() => {
return store.getters.conversation(token.value) || store.getters.dummyConversation
@@ -644,10 +642,11 @@ function changeView() {
-
diff --git a/src/components/CallView/CallEndLeaveButton.vue b/src/components/CallView/CallEndLeaveButton.vue
new file mode 100644
index 00000000000..d6537311120
--- /dev/null
+++ b/src/components/CallView/CallEndLeaveButton.vue
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ endCallLabel }}
+
+
+
+
+
+
+
+
+ {{ leaveCallLabel }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ backToMainRoomLabel }}
+
+
+
+
+
+
+
+
+ {{ leaveCallLabel }}
+
+
+
+
+
+
+ {{ t('spreed', 'End call for everyone') }}
+
+
+
+
+
diff --git a/src/components/TopBar/CallButton.vue b/src/components/TopBar/CallButton.vue
index 76524844082..3d5dc721b3e 100644
--- a/src/components/TopBar/CallButton.vue
+++ b/src/components/TopBar/CallButton.vue
@@ -3,483 +3,226 @@
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
-
-
-
-
-
-
-
-
-
- {{ startCallLabel }}
-
-
-
-
-
-
-
-
-
- {{ endCallLabel }}
-
-
-
-
-
-
-
-
- {{ leaveCallLabel }}
-
-
-
-
-
-
-
-
-
-
-
- {{ backToMainRoomLabel }}
-
-
-
-
-
-
-
-
- {{ leaveCallLabel }}
-
-
-
-
-
-
- {{ t('spreed', 'End call for everyone') }}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ startCallLabel }}
+
+
+
+