File tree Expand file tree Collapse file tree 6 files changed +15
-19
lines changed
java/com/digiventure/ventnote/feature Expand file tree Collapse file tree 6 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ android {
71
71
excludes + = ' META-INF/*'
72
72
}
73
73
}
74
+
75
+ lintOptions {
76
+ abortOnError false
77
+ }
74
78
}
75
79
76
80
dependencies {
@@ -135,9 +139,9 @@ dependencies {
135
139
androidTestImplementation " androidx.test.espresso:espresso-intents:3.6.1"
136
140
androidTestImplementation " androidx.test.espresso:espresso-core:3.6.1"
137
141
138
- androidTestImplementation " androidx.compose.ui:ui-test-junit4:1.7.3 "
139
- debugImplementation " androidx.compose.ui:ui-tooling:1.7.3 "
140
- debugImplementation " androidx.compose.ui:ui-test-manifest:1.7.3 "
142
+ androidTestImplementation " androidx.compose.ui:ui-test-junit4:1.7.4 "
143
+ debugImplementation " androidx.compose.ui:ui-tooling:1.7.4 "
144
+ debugImplementation " androidx.compose.ui:ui-test-manifest:1.7.4 "
141
145
142
146
// / Hilt test (for handling service locator when test)
143
147
androidTestImplementation " com.google.dagger:hilt-android-testing:2.50"
@@ -166,7 +170,7 @@ dependencies {
166
170
implementation " com.google.android.gms:play-services-auth:21.2.0"
167
171
168
172
// Google Drive API
169
- implementation " com.google.http-client:google-http-client-gson:1.34.0 "
173
+ implementation " com.google.http-client:google-http-client-gson:1.44.2 "
170
174
implementation " com.google.apis:google-api-services-drive:v3-rev136-1.25.0"
171
175
implementation " com.google.api-client:google-api-client-android:1.34.0"
172
176
}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ fun BackupPage(
68
68
val context = LocalContext .current
69
69
70
70
val backedUpMessage = stringResource(id = R .string.successfully_backed_up)
71
- val restoredMessage = stringResource(id = R .string.successfully_updated )
71
+ val restoredMessage = stringResource(id = R .string.successfully_restored )
72
72
73
73
fun backupDatabase () {
74
74
scope.launch {
Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ fun BackupPageAppBar(
45
45
containerColor = MaterialTheme .colorScheme.surface,
46
46
),
47
47
navigationIcon = {
48
- TopNavBarIcon (Icons .AutoMirrored .Filled .ArrowBack , stringResource(R .string.back_nav_icon), Modifier .semantics { }) {
48
+ TopNavBarIcon (
49
+ Icons .AutoMirrored .Filled .ArrowBack ,
50
+ stringResource(R .string.backup_nav_icon),
51
+ Modifier .semantics { }) {
49
52
onBackPressed()
50
53
}
51
54
},
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ fun NoteDetailPage(
81
81
val bodyTextField = " ${stringResource(R .string.body_textField)} -$TAG "
82
82
val titleInput = stringResource(R .string.title_textField_input)
83
83
val bodyInput = stringResource(R .string.body_textField_input)
84
+ val successFullyUpdatedText = stringResource(R .string.successfully_updated)
84
85
85
86
val noteDetailState = viewModel.noteDetail.observeAsState()
86
87
val data = noteDetailState.value?.getOrNull()
@@ -153,7 +154,7 @@ fun NoteDetailPage(
153
154
.onSuccess {
154
155
viewModel.isEditing.value = false
155
156
snackBarHostState.showSnackbar(
156
- message = " Note successfully updated " ,
157
+ message = successFullyUpdatedText ,
157
158
withDismissAction = true
158
159
)
159
160
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 43
43
<string name =" share_note" >Share Note</string >
44
44
<string name =" share_note_as_text" >Share Note as Text</string >
45
45
<string name =" sign_in_with_google" >Sign In With Google</string >
46
- <string name =" sign_out" >Sign Out</string >
47
46
<string name =" refresh" >Refresh</string >
48
47
49
48
<!-- TextField placeholder -->
You can’t perform that action at this time.
0 commit comments