Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set default preview when stream can't be found anymore #181

Merged
merged 14 commits into from
May 30, 2023
Next Next commit
removed unused code
  • Loading branch information
Kevin Beier committed May 26, 2023
commit 6be11e7f3496540ee13ddf595cddd1a08454ae92
15 changes: 1 addition & 14 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,13 @@
</template>

<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { onMounted } from 'vue';
import { useRouter } from 'vue-router';
import MainVideoStream from '@/components/MainVideoStream/MainVideoStream.vue';
import Navigation from '@/components/Navigation/Navigation.vue';
import NotificantionProvider from '@/components/Notifications/NotificationProvider/NotificationProvider.vue';
import { NotificationAnchorPosition } from '@/components/Notifications/NotificationAnchorPosition';

// Handle System Bar Functions for later
async function minimizeScreen() {
await (window as any).electronAPI.minimizeScreen();
}

async function fullScreen() {
await (window as any).electronAPI.fullScreen();
}

async function closeApplication() {
await (window as any).electronAPI.closeApplication();
}

// Force the application to navigate to the default route
const router = useRouter();

Expand Down