mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Make symmetric identicons 9x9 instead of 5x5
This commit is contained in:
@@ -15,7 +15,7 @@ import org.briarproject.api.crypto.CryptoComponent;
|
||||
public class IdenticonDrawable extends Drawable {
|
||||
private IdenticonBase mDelegate;
|
||||
|
||||
private static final int CENTER_COLUMN_INDEX = 3;
|
||||
private static final int CENTER_COLUMN_INDEX = 5;
|
||||
|
||||
public IdenticonDrawable(final CryptoComponent crypto, byte[] toShow) {
|
||||
super();
|
||||
@@ -27,12 +27,12 @@ public class IdenticonDrawable extends Drawable {
|
||||
|
||||
@Override
|
||||
protected int getRowCount() {
|
||||
return 5;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getColumnCount() {
|
||||
return 5;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -28,7 +28,7 @@ import roboguice.RoboGuice;
|
||||
|
||||
public class SymmetricIdenticon extends IdenticonView {
|
||||
|
||||
private static final int CENTER_COLUMN_INDEX = 3;
|
||||
private static final int CENTER_COLUMN_INDEX = 5;
|
||||
|
||||
@Inject private CryptoComponent mCrypto;
|
||||
private IdenticonBase mDelegate;
|
||||
@@ -58,12 +58,12 @@ public class SymmetricIdenticon extends IdenticonView {
|
||||
|
||||
@Override
|
||||
protected int getRowCount() {
|
||||
return 5;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getColumnCount() {
|
||||
return 5;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user