Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .fleet/goals/example.md

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/fleet-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Fleet Analyze

on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
inputs:
goal:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/fleet-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Fleet Merge

on:
schedule:
- cron: '0 */3 * * *'
workflow_dispatch:
inputs:
mode:
Expand Down
19 changes: 0 additions & 19 deletions activity_main_patch.diff

This file was deleted.

4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ android {
applicationId = "com.leanbitlab.lwidget"
minSdk = 26
targetSdk = 35
versionCode = 15
versionName = "2.0"
versionCode = 16
versionName = "2.1"
}

testOptions {
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/java/com/leanbitlab/lwidget/AwidgetProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ class AwidgetProvider : AppWidgetProvider() {
android.app.PendingIntent.FLAG_UPDATE_CURRENT or android.app.PendingIntent.FLAG_IMMUTABLE
)

// 1 minute
val intervalMillis = 1L * 60L * 1000L
val prefs = context.getSharedPreferences("com.leanbitlab.lwidget.PREFS", Context.MODE_PRIVATE)
val intervalMinutes = prefs.getFloat("update_interval", 15f)
val intervalMillis = (intervalMinutes * 60f * 1000f).toLong().coerceAtLeast(60000L) // min 1 min

alarmManager.setInexactRepeating(
android.app.AlarmManager.RTC,
Expand Down
Loading
Loading