Skip to content

Commit 45e7b36

Browse files
committed
chore: bump metro to 1.1.1
1 parent a903482 commit 45e7b36

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

app/src/main/kotlin/com/wire/android/di/metro/WireMetroGraph.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ interface WireMetroGraph : CellViewModelGraph, MeetingViewModelGraph, ImageAsset
975975

976976
@Provides
977977
fun provideCurrentTimestampProvider(): CurrentTimestampProvider =
978-
{ System.currentTimeMillis() }
978+
CurrentTimestampProvider { System.currentTimeMillis() }
979979

980980
@Provides
981981
fun provideGeocoder(@ApplicationContext context: Context): Geocoder =

app/src/main/kotlin/com/wire/android/ui/home/appLock/LockCodeTimeManager.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,6 @@ class LockCodeTimeManager @Inject constructor(
128128
}
129129
}
130130

131-
typealias CurrentTimestampProvider = () -> Long
131+
fun interface CurrentTimestampProvider {
132+
operator fun invoke(): Long
133+
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ firebaseBOM = "34.7.0"
2525
fragment = "1.5.6"
2626
resaca = "5.0.1"
2727
resacaMetro = "5.0.0"
28-
metro = "0.12.1"
28+
metro = "1.1.1"
2929
bundlizer = "0.8.0"
3030
squareup-javapoet = "1.13.0"
3131
visibilityModifiers = "1.1.0"

0 commit comments

Comments
 (0)