mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Order is now getting saved properly
Also enabled Java 8
This commit is contained in:
parent
036dd2b2cb
commit
22524136a7
7 changed files with 106 additions and 25 deletions
|
@ -1,6 +1,7 @@
|
|||
package me.impy.aegis;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.security.Key;
|
||||
|
||||
import me.impy.aegis.crypto.KeyInfo;
|
||||
|
||||
|
@ -9,5 +10,15 @@ public class KeyProfile implements Serializable {
|
|||
public String Icon;
|
||||
public String Code;
|
||||
public KeyInfo Info;
|
||||
public int Order;
|
||||
public int ID;
|
||||
|
||||
|
||||
public int compareTo(KeyProfile another) {
|
||||
if (this.Order>another.Order){
|
||||
return -1;
|
||||
}else{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue