fixup! UpdatesPreference: Setup auto-updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -162,7 +162,7 @@ class UpdateWorker @AssistedInject constructor(
|
||||
}
|
||||
|
||||
if (updatesList.isNotEmpty()) {
|
||||
if (autoUpdatesMode == 2) {
|
||||
if (autoUpdatesMode == 1) {
|
||||
Log.i("Found updates, notifying!")
|
||||
val notifyManager = appContext.getSystemService(Context.NOTIFICATION_SERVICE)
|
||||
as NotificationManager
|
||||
|
||||
Reference in New Issue
Block a user