Commit 0fb4b024 authored by Philipp Hörist's avatar Philipp Hörist

Add tabs_position migration

parent 91a6bb72
......@@ -153,6 +153,8 @@ def update_config(self, old_version, new_version):
self.update_config_to_1194()
if old < [1, 1, 95] and new >= [1, 1, 95]:
self.update_config_to_1195()
if old < [1, 1, 99, 1] and new >= [1, 1, 99, 1]:
self.update_config_to_11991()
app.config.set('version', new_version)
......@@ -249,3 +251,7 @@ def update_config_to_1195(self):
color = rgba.to_string()
app.config.set_per('accounts', account, 'account_color', color)
app.config.set('version', '1.1.95')
def update_config_to_11991(self):
app.config.set('tabs_position', 'left')
app.config.set('version', '1.1.99.1')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment