mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 11:28:34 +00:00
parent
da59ed019f
commit
acd4fc4518
@ -1,7 +1,5 @@
|
|||||||
package org.thoughtcrime.securesms.lock.v2;
|
package org.thoughtcrime.securesms.lock.v2;
|
||||||
|
|
||||||
import org.thoughtcrime.securesms.keyvalue.SignalStore;
|
|
||||||
|
|
||||||
public final class KbsConstants {
|
public final class KbsConstants {
|
||||||
|
|
||||||
public static final int MINIMUM_PIN_LENGTH = 6;
|
public static final int MINIMUM_PIN_LENGTH = 6;
|
||||||
@ -10,6 +8,6 @@ public final class KbsConstants {
|
|||||||
private KbsConstants() { }
|
private KbsConstants() { }
|
||||||
|
|
||||||
public static int minimumPossiblePinLength() {
|
public static int minimumPossiblePinLength() {
|
||||||
return SignalStore.kbsValues().hasMigratedToPinsForAll() ? MINIMUM_PIN_LENGTH : LEGACY_MINIMUM_PIN_LENGTH;
|
return LEGACY_MINIMUM_PIN_LENGTH;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user