mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Merge pull request #10919 from JosJuice/android-wait-on-fab-click
Android: Use AfterDirectoryInitializationRunner on FAB press
This commit is contained in:
commit
173337104f
@ -26,7 +26,6 @@ import org.dolphinemu.dolphinemu.utils.AfterDirectoryInitializationRunner;
|
||||
import org.dolphinemu.dolphinemu.utils.BooleanSupplier;
|
||||
import org.dolphinemu.dolphinemu.utils.CompletableFuture;
|
||||
import org.dolphinemu.dolphinemu.utils.ContentHandler;
|
||||
import org.dolphinemu.dolphinemu.utils.DirectoryInitialization;
|
||||
import org.dolphinemu.dolphinemu.utils.FileBrowserHelper;
|
||||
import org.dolphinemu.dolphinemu.utils.ThreadUtil;
|
||||
import org.dolphinemu.dolphinemu.utils.WiiUtils;
|
||||
@ -76,7 +75,8 @@ public final class MainPresenter
|
||||
|
||||
public void onFabClick()
|
||||
{
|
||||
mView.launchFileListActivity();
|
||||
new AfterDirectoryInitializationRunner().runWithLifecycle(mActivity, true,
|
||||
mView::launchFileListActivity);
|
||||
}
|
||||
|
||||
public boolean handleOptionSelection(int itemId, ComponentActivity activity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user