iOS crypto target
This commit is contained in:
@@ -77,15 +77,17 @@ class SqliteHelper {
|
||||
}
|
||||
|
||||
Future<Map> getSettings(bool withSession) async {
|
||||
|
||||
|
||||
Map results = new Map();
|
||||
Map settings = await selectAll(tableSettings);
|
||||
|
||||
results.addAll(settings);
|
||||
if (settings != null && settings.isNotEmpty) {
|
||||
results.addAll(settings);
|
||||
}
|
||||
|
||||
if (withSession) {
|
||||
Map session = await selectAll(tableSession);
|
||||
if (settings != null && session != null) {
|
||||
if (session != null && session.isNotEmpty) {
|
||||
results.addAll(session);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user