mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix saving of playback position for long videos.
This commit is contained in:
@@ -203,6 +203,13 @@ Support::Templates& Session::supportTemplates() const {
|
||||
return supportHelper().templates();
|
||||
}
|
||||
|
||||
void Session::saveSettingsNowIfNeeded() {
|
||||
if (_saveSettingsTimer.isActive()) {
|
||||
_saveSettingsTimer.cancel();
|
||||
Local::writeUserSettings();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Main
|
||||
|
||||
Main::Session &Auth() {
|
||||
|
Reference in New Issue
Block a user