Initialize last displayed user to correct empty Optional in FileDisplayActivity

Fixes #8725

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
This commit is contained in:
Chris Narkiewicz 2021-07-17 23:46:38 +01:00
parent 9d4d26b5f9
commit 3745201b54
No known key found for this signature in database
GPG key ID: 30D28CA4CCC665C6

View file

@ -215,7 +215,7 @@ public class FileDisplayActivity extends FileActivity
private SearchView searchView;
private PlayerServiceConnection mPlayerConnection;
private Optional<User> lastDisplayedUser;
private Optional<User> lastDisplayedUser = Optional.empty();
private int menuItemId = -1;
@Inject