File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
vector/src/main/java/im/vector/app
features/pin/lockscreen/views Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class SpaceStateHandlerImpl @Inject constructor(
137
137
138
138
override fun popSpaceBackstack (): String? {
139
139
vectorPreferences.getSpaceBackstack().toMutableList().apply {
140
- val poppedSpaceId = removeLast( )
140
+ val poppedSpaceId = removeAt(lastIndex )
141
141
vectorPreferences.setSpaceBackstack(this )
142
142
return poppedSpaceId
143
143
}
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class LockScreenCodeView @JvmOverloads constructor(
92
92
*/
93
93
fun deleteLast (): Int {
94
94
if (code.size == 0 ) return code.size
95
- code.removeLast( )
95
+ code.removeAt(code.lastIndex )
96
96
getCodeView(code.size)?.toggle()
97
97
return code.size
98
98
}
You can’t perform that action at this time.
0 commit comments