Skip to content

Commit

Permalink
fix for ownerAccount null
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassth committed Oct 6, 2022
1 parent 40b1135 commit f7e30e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
package com.builttoroam.devicecalendar.models

class Calendar(
val id: String,
val name: String,
val color: Int,
val accountName: String,
val accountType: String,
val ownerAccount: String
) {
class Calendar(val id: String, val name: String, val color : Int, val accountName: String, val accountType: String, val ownerAccount: String?) {
var isReadOnly: Boolean = false
var isDefault: Boolean = false
}
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 31
compileSdkVersion 32
ndkVersion '22.1.7171670'

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down

0 comments on commit f7e30e3

Please sign in to comment.