Skip to content

Commit 041d505

Browse files
committed
Fix ExiFragment viewbinding
1 parent f42a9b3 commit 041d505

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-apk:
1111
@./gradlew assembleRelease --console verbose
1212

1313
build-aab:
14-
@./gradlew :app:bundleRelease --console-verbose
14+
@./gradlew :app:bundleRelease --console verbose
1515

1616
publish-release-gh:
1717
@gh release create $(version) --generate-notes app/build/outputs/apk/release/$(version).apk

app/src/main/kotlin/com/w2sv/autocrop/activities/examination/fragments/exit/ExitFragment.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ import com.w2sv.androidutils.ui.SimpleAnimationListener
2323
import com.w2sv.autocrop.activities.AppFragment
2424
import com.w2sv.autocrop.activities.examination.ExaminationActivity
2525
import com.w2sv.autocrop.ui.views.animationComposer
26-
import com.w2sv.common.databinding.DeleteRequestBinding
26+
import com.w2sv.autocrop.databinding.ExitBinding
2727
import kotlinx.coroutines.launch
2828

2929
class ExitFragment :
30-
AppFragment<DeleteRequestBinding>(DeleteRequestBinding::class.java) {
30+
AppFragment<ExitBinding>(ExitBinding::class.java) {
3131

3232
private val activityViewModel by activityViewModels<ExaminationActivity.ViewModel>()
3333

@@ -80,7 +80,7 @@ class ExitFragment :
8080

8181
private fun exitAsSoonAsIOProcessingFinished() {
8282
lifecycleScope.launch {
83-
binding.appLogoIv.animationComposer(
83+
binding.deleteRequestLayout.appLogoIv.animationComposer(
8484
listOf(
8585
Techniques.Wobble,
8686
Techniques.Wave,

app/src/main/res/layout/exit.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent">
5+
6+
<include
7+
android:id="@+id/delete_request_layout"
8+
layout="@layout/delete_request" />
9+
10+
</RelativeLayout>

modulebase.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ android {
99
buildTypes {
1010
release {
1111
minifyEnabled false
12+
shrinkResources false
1213
}
1314
}
1415
compileOptions {

0 commit comments

Comments
 (0)