Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyrat committed Feb 15, 2024
1 parent 851809d commit b2b780a
Show file tree
Hide file tree
Showing 6 changed files with 218 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "3.13.9",
"flutterSdkVersion": "3.16.5",
"flavors": {}
}
11 changes: 10 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,17 @@ def nameSuffix = stages[dartEnvironmentVariables.KEEVAULT_STAGE].nameSuffix + ch
def symbolLevel = channels[dartEnvironmentVariables.KEEVAULT_CHANNEL].symbolLevel
def chosenSigningConfig = channels[dartEnvironmentVariables.KEEVAULT_CHANNEL].signingConfig

kotlin {
jvmToolchain(17)
}

android {
compileSdk 33
compileSdk 34

compileOptions {
sourceCompatibility = 17
targetCompatibility = 17
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand Down
4 changes: 2 additions & 2 deletions lib/config/route_handlers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import 'package:keevault/widgets/vault.dart';
import '../widgets/blocking_overlay.dart';
import '../widgets/change_email_prefs.dart';
import '../widgets/change_password.dart';
import '../widgets/root.dart';
import '../widgets/root.dart' as kv_root;

var rootHandler = Handler(handlerFunc: (BuildContext? context, Map<String, List<String>> params) {
return const RootWidget();
return const kv_root.RootWidget();
});

var vaultHandler = Handler(handlerFunc: (BuildContext? context, Map<String, List<String>> params) {
Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void main() async {
() async {
await Settings.init(cacheProvider: SharePreferenceCache());
await MatomoTracker.instance.initialize(
siteId: 7,
siteId: '7',
url: 'https://matomo.kee.pm/js/',
dispatchSettings: DispatchSettings.persistent(onLoad: DispatchSettings.whereNotOlderThan(Duration(days: 14))),
);
Expand Down
Loading

0 comments on commit b2b780a

Please sign in to comment.