aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-06-25 02:09:37 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-06-25 02:09:37 +0530
commitb2f0fe493f8f09aa513470b3d22a43586331150b (patch)
treed3337c59bec8dc50d8936bf611e318738375d743 /src/mainwindow.cpp
parent247ed75f28c863434a2eae7501a3510c87fc6c80 (diff)
downloadwhatsie-b2f0fe493f8f09aa513470b3d22a43586331150b.tar.gz
whatsie-b2f0fe493f8f09aa513470b3d22a43586331150b.zip
fix: obey fullview settings on first launch & initial window size
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
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();
}
}