Skip to content

Commit 3f3e5cf

Browse files
Update app version
1 parent 4c07485 commit 3f3e5cf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/src/main/java/f/cking/software/domain/interactor/BuildDeviceClassFromSystemInfo.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ object BuildDeviceClassFromSystemInfo {
181181
" TV" to DeviceClass.AudioVideo.VideoDisplayAndLoudspeaker,
182182
"TV " to DeviceClass.AudioVideo.VideoDisplayAndLoudspeaker,
183183
"MacBook" to DeviceClass.Computer.Laptop,
184-
"Mac" to DeviceClass.Computer.Desktop,
184+
"iMac" to DeviceClass.Computer.Desktop,
185+
"Macmini" to DeviceClass.Computer.Desktop,
186+
"Mac1" to DeviceClass.Computer.Desktop,
187+
"Mac2" to DeviceClass.Computer.Desktop,
185188
"iPad" to DeviceClass.Phone.Smartphone,
186189
)
187190
}

app/src/main/java/f/cking/software/domain/interactor/DeviceServicesFetchingPlanner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class DeviceServicesFetchingPlanner(
3434

3535
suspend fun scheduleFetchServiceInfo(devices: List<SavedDeviceHandle>): List<SavedDeviceHandle> = coroutineScope {
3636

37-
val cooldown = cooldown
37+
val cooldown = this@DeviceServicesFetchingPlanner.cooldown
3838
if (cooldown != null && System.currentTimeMillis() - cooldown < MIN_COOLDOWN_DURATION_SEC.seconds.inWholeMilliseconds) {
3939
Timber.tag(TAG).i("Device services fetching is on cooldown due to a high errors rate, current batch will be skipped")
4040
return@coroutineScope devices

0 commit comments

Comments
 (0)