diff --git a/app.py b/app.py index ad79080..5701dea 100644 --- a/app.py +++ b/app.py @@ -771,7 +771,7 @@ def advanced_schedule(): @app.route('/toggle_dark_mode') def toggle_dark_mode(): - current_mode = session.get('dark_mode', False) + current_mode = session.get('dark_mode', True) session['dark_mode'] = not current_mode return redirect(request.referrer or url_for('index')) diff --git a/templates/base.html b/templates/base.html index 2b6ac70..e13abab 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,5 +1,5 @@ - +