From b2f0fe493f8f09aa513470b3d22a43586331150b Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Sat, 25 Jun 2022 02:09:37 +0530 Subject: fix: obey fullview settings on first launch & initial window size --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e2bef52..553115a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -46,7 +46,7 @@ void MainWindow::restoreMainWindow() { } } } else { - this->resize(636, 760); + this->resize(800, 684); } } @@ -930,9 +930,9 @@ void MainWindow::handleLoadFinished(bool loaded) { updatePageTheme(); handleZoom(); injectMutationObserver(); + injectFullWidthJavaScript(); injectClassChangeObserver(); injectNewChatJavaScript(); - injectFullWidthJavaScript(); settingsWidget->refresh(); } } -- cgit v1.2.3