mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 08:52:18 -05:00
Read server password from database on object population
This commit is contained in:
parent
7d55a03a02
commit
bfd67da5b9
@ -204,6 +204,7 @@ public class Database extends SQLiteOpenHelper
|
||||
server.setTitle(cursor.getString(cursor.getColumnIndex((ServerConstants.TITLE))));
|
||||
server.setHost(cursor.getString(cursor.getColumnIndex((ServerConstants.HOST))));
|
||||
server.setPort(cursor.getInt(cursor.getColumnIndex((ServerConstants.PORT))));
|
||||
server.setPassword(cursor.getString(cursor.getColumnIndex(ServerConstants.PASSWORD)));
|
||||
server.setId(cursor.getInt(cursor.getColumnIndex((ServerConstants._ID))));
|
||||
server.setStatus(Status.DISCONNECTED);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user