Fix wallpaper nullcheck

onboarding
Christian Pauly 6 years ago
parent 267b989786
commit e1fa736d46

@ -368,6 +368,7 @@ class MatrixState extends State<Matrix> {
}
if (client.storeAPI != null) {
client.storeAPI.getItem("chat.fluffy.wallpaper").then((final path) async {
if (path == null) return;
final file = File(path);
if (await file.exists()) {
wallpaper = file;

Loading…
Cancel
Save