Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0947ae95 authored by Fs00's avatar Fs00
Browse files

Handle closing settings when no document has been opened

parent 25cecdc4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -186,7 +186,10 @@ public class MainActivity extends CyaneaAppCompatActivity {

    private final ActivityResultLauncher<Intent> settingsLauncher = registerForActivityResult(
            new StartActivityForResult(),
            result -> displayFromUri(uri)
            result -> {
                if (uri != null)
                    displayFromUri(uri);
            }
    );

    void shareFile() {