use name deviceMsgLabel as it is a label and no id

came over that while targeting https://github.com/deltachat/deltachat-ios/pull/2204
and was shortly confused about what is going on there :)

(the name saved to database is not changed, however,
to avoid popping up the message again in case we do an update without a new device messase)
This commit is contained in:
B. Petersen 2024-06-09 18:17:01 +02:00 committed by bjoern
parent ce93edf1a3
commit 1083e19356
2 changed files with 6 additions and 6 deletions

View file

@ -65,7 +65,7 @@ public class Prefs {
public static final String ALWAYS_LOAD_REMOTE_CONTENT = "pref_always_load_remote_content";
public static final boolean ALWAYS_LOAD_REMOTE_CONTENT_DEFAULT = false;
public static final String LAST_DEVICE_MSG_ID = "pref_last_device_msg_id";
public static final String LAST_DEVICE_MSG_LABEL = "pref_last_device_msg_id";
public enum VibrateState {
DEFAULT(0), ENABLED(1), DISABLED(2);