File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed
src/main/java/com/xeinebiu/demo/suspendDialogs
src/main/java/com/xeinebiu/suspend/dialogs Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ allprojects {
14
14
15
15
```
16
16
dependencies {
17
- implementation 'com.github.xeinebiu:android-suspend-dialogs:1.5.0 '
17
+ implementation 'com.github.xeinebiu:android-suspend-dialogs:1.6.1 '
18
18
}
19
19
```
20
20
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ android {
11
11
minSdkVersion 21
12
12
targetSdkVersion 31
13
13
versionCode 1
14
- versionName " 1.5.0 "
14
+ versionName " 1.6.1 "
15
15
16
16
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
17
17
}
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import androidx.lifecycle.lifecycleScope
6
6
import com.google.android.material.dialog.MaterialAlertDialogBuilder
7
7
import com.xeinebiu.demo.suspendDialogs.databinding.ActivityMainBinding
8
8
import com.xeinebiu.suspend.dialogs.*
9
+ import kotlinx.coroutines.coroutineScope
10
+ import kotlinx.coroutines.delay
9
11
import kotlinx.coroutines.launch
10
12
11
13
class MainActivity : AppCompatActivity () {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ project.afterEvaluate {
49
49
from components. release
50
50
51
51
groupId = ' com.github.xeinebiu'
52
- version = ' 1.6.0 '
52
+ version = ' 1.6.1 '
53
53
}
54
54
}
55
55
}
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ object SuspendAlertDialog {
132
132
133
133
return ItemsMenuResult (
134
134
action = result.action,
135
- menuItem = if (result.selectedIndex != - 10 ) menu[result.selectedIndex] else null
135
+ menuItem = if (result.selectedIndex != - 1 ) menu[result.selectedIndex] else null
136
136
)
137
137
}
138
138
You can’t perform that action at this time.
0 commit comments