mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Add UUID to habits
This commit is contained in:
@@ -97,9 +97,9 @@ class ListHabitsScreen
|
||||
commandRunner.removeListener(this)
|
||||
}
|
||||
|
||||
override fun onCommandExecuted(command: Command, refreshKey: Long?) {
|
||||
if (command.isRemote) return
|
||||
showMessage(getExecuteString(command))
|
||||
override fun onCommandExecuted(command: Command?, refreshKey: Long?) {
|
||||
if (command != null)
|
||||
showMessage(getExecuteString(command))
|
||||
}
|
||||
|
||||
override fun onResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
package org.isoron.uhabits.tasks;
|
||||
|
||||
import android.util.*;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.auto.factory.*;
|
||||
@@ -83,7 +85,7 @@ public class ImportDataTask implements Task
|
||||
catch (Exception e)
|
||||
{
|
||||
result = FAILED;
|
||||
e.printStackTrace();
|
||||
Log.e("ImportDataTask", "Import failed", e);
|
||||
}
|
||||
|
||||
modelFactory.db.endTransaction();
|
||||
|
||||
@@ -45,7 +45,7 @@ class WidgetUpdater
|
||||
|
||||
private var lastUpdated = 0L
|
||||
|
||||
override fun onCommandExecuted(command: Command, refreshKey: Long?) {
|
||||
override fun onCommandExecuted(command: Command?, refreshKey: Long?) {
|
||||
updateWidgets(refreshKey)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user