change: Remove wallpaper feature

This commit is contained in:
krille-chan 2023-12-26 14:37:39 +01:00
commit 5d20185140
No known key found for this signature in database
52 changed files with 0 additions and 313 deletions

View file

@ -1,6 +1,5 @@
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
@ -187,8 +186,6 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
final StreamController<Map<String, dynamic>?> onShareContentChanged =
StreamController.broadcast();
File? wallpaper;
void _initWithStore() async {
try {
if (client.isLogged()) {
@ -429,9 +426,6 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
}
void initSettings() {
final path = store.getString(SettingKeys.wallpaper);
if (path != null) wallpaper = File(path);
AppConfig.fontSizeFactor =
double.tryParse(store.getString(SettingKeys.fontSizeFactor) ?? '') ??
AppConfig.fontSizeFactor;