Skip to content

Commit

Permalink
Add android:enableOnBackInvokedCallback="true" to manifest
Browse files Browse the repository at this point in the history
This should enable predictive back gesture, but it seems Jetpack Compose currently isn't supported
  • Loading branch information
MateusRodCosta committed Mar 28, 2024
1 parent 1f607af commit 971c1b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:targetApi="34">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Material.NoActionBar">
android:theme="@android:style/Theme.Material.NoActionBar"
android:enableOnBackInvokedCallback="true">

<activity
android:name=".MainActivity"
Expand Down

0 comments on commit 971c1b6

Please sign in to comment.