Skip to content

Commit 67433d9

Browse files
committed
[fix] removeLast() -> removeLastOrNull()
1 parent 4018578 commit 67433d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/navigation/src/main/java/com/neki/android/core/navigation/auth/AuthNavigatorImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class AuthNavigatorImpl @Inject constructor(
2929

3030
override fun goBack(): Boolean {
3131
return if (state.stack.size > 1) {
32-
state.stack.removeLast()
32+
state.stack.removeLastOrNull()
3333
true
3434
} else false
3535
}

0 commit comments

Comments
 (0)