Browse Source
fix 2 android build errors
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2862/head
crueter
1 week ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with
11 additions and
0 deletions
-
src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
-
src/android/app/src/main/res/navigation/home_navigation.xml
|
|
|
@ -63,6 +63,7 @@ import kotlinx.coroutines.CoroutineScope |
|
|
|
import kotlinx.coroutines.Dispatchers |
|
|
|
import kotlinx.coroutines.launch |
|
|
|
import kotlinx.coroutines.withContext |
|
|
|
import androidx.documentfile.provider.DocumentFile |
|
|
|
|
|
|
|
class MainActivity : AppCompatActivity(), ThemeProvider { |
|
|
|
private lateinit var binding: ActivityMainBinding |
|
|
|
|
|
|
|
@ -186,5 +186,15 @@ |
|
|
|
app:nullable="true" |
|
|
|
android:defaultValue="@null" /> |
|
|
|
</fragment> |
|
|
|
<fragment |
|
|
|
android:id="@+id/externalContentFragment" |
|
|
|
android:name="org.yuzu.yuzu_emu.fragments.ExternalContentFragment" |
|
|
|
android:label="ExternalContentFragment" /> |
|
|
|
<action |
|
|
|
android:id="@+id/action_global_externalContentFragment" |
|
|
|
app:destination="@id/externalContentFragment" /> |
|
|
|
|
|
|
|
<action |
|
|
|
android:id="@+id/action_homeSettingsFragment_to_externalContentFragment" |
|
|
|
app:destination="@id/externalContentFragment" /> |
|
|
|
</navigation> |