Skip to content

Commit

Permalink
Release v2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-norman committed Jul 21, 2024
1 parent ff8e147 commit 1e6b8fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId = "com.cobresun.brun.pantsorshorts"
minSdk = 24
targetSdk = 34
versionCode = 24
versionName = "2.7"
versionCode = 25
versionName = "2.8"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled = true
buildConfigField("String", "PirateWeatherAPIKey", properties["PirateWeatherAPIKey"].toString())
Expand Down
4 changes: 4 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE

-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
}
Binary file modified app/release/app-release.aab
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class WeatherRepository @Inject constructor(
val millisecondsInASecond = 1000
val millisecondsInAMinute = 60 * millisecondsInASecond

val lastFetched = weatherDataStore.temperatureDataFlow.first().timeFetched
val lastFetched = temperatureDataFlow.first().timeFetched
val timeSinceFetched = System.currentTimeMillis() - lastFetched

return (timeSinceFetched > millisecondsInAMinute * 10)
Expand Down

0 comments on commit 1e6b8fa

Please sign in to comment.