Fix bad ssl certificate even in release mode...; Search non case sensitive for username
This commit is contained in:
parent
012cd31daf
commit
77a15338ea
|
@ -79,6 +79,8 @@ Future<void> main() async {
|
|||
// _homeProvider.playSound('start', 0.2);
|
||||
// }
|
||||
|
||||
HttpOverrides.global = MyHttpOverrides();
|
||||
|
||||
if (kReleaseMode && enableSentry) {
|
||||
// CatcherOptions debugOptions = CatcherOptions(DialogReportMode(), [
|
||||
// SentryHandler(SentryClient(SentryOptions(
|
||||
|
@ -110,8 +112,6 @@ Future<void> main() async {
|
|||
} else {
|
||||
print('Debug mode enabled: No sentry alerte');
|
||||
|
||||
HttpOverrides.global = MyHttpOverrides();
|
||||
|
||||
runApp(Gecko(endPointGVA));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import 'package:http/http.dart' as http;
|
|||
class SearchProvider with ChangeNotifier {
|
||||
TextEditingController searchController = TextEditingController();
|
||||
List searchResult = [];
|
||||
final cacheDuring = 0 * 60 * 1000; //First number is minutes
|
||||
final cacheDuring = 20 * 60 * 1000; //First number is minutes
|
||||
int cacheTime = 0;
|
||||
|
||||
void rebuildWidget() {
|
||||
|
@ -33,7 +33,9 @@ class SearchProvider with ChangeNotifier {
|
|||
g1WalletsBox.toMap().forEach((key, value) {
|
||||
if ((value.id != null &&
|
||||
value.id.username != null &&
|
||||
value.id.username.contains(searchController.text)) ||
|
||||
value.id.username
|
||||
.toLowerCase()
|
||||
.contains(searchController.text)) ||
|
||||
value.pubkey.contains(searchController.text)) {
|
||||
searchResult.add(value);
|
||||
return;
|
||||
|
|
|
@ -5,7 +5,7 @@ description: Pay with G1.
|
|||
# pub.dev using `pub publish`. This is preferred for private packages.
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
|
||||
version: 0.0.3+6
|
||||
version: 0.0.3+7
|
||||
|
||||
environment:
|
||||
sdk: ">=2.7.0 <3.0.0"
|
||||
|
|
Loading…
Reference in New Issue