Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit fce66e0

Browse files
committed
new legacy information
1 parent 0ec98dc commit fce66e0

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

app/release/output-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 184,
15-
"versionName": "5.6.3",
14+
"versionCode": 200,
15+
"versionName": "5.7.0",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

app/src/main/java/com/jjewuz/justnotes/Activities/MainActivity.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ class MainActivity : AppCompatActivity() {
556556
}
557557

558558
val enabledpass = sharedPref.getBoolean("enabledPassword", false)
559-
val newPP = sharedPref.getBoolean("agree_conditions2023", false)
559+
val newPP = sharedPref.getBoolean("agree_conditions2024", false)
560560

561561
if (!newPP){
562562
val builder = MaterialAlertDialogBuilder(this)
@@ -567,10 +567,11 @@ class MainActivity : AppCompatActivity() {
567567
pp.setOnClickListener { openLink("https://jjewuz.ru/en/justnotes/privacypolicy.html") }
568568
builder.setView(inflater)
569569
.setTitle(R.string.agreement)
570+
.setMessage(R.string.update_legacy)
570571
.setIcon(R.drawable.info)
571572
.setCancelable(false)
572573
.setPositiveButton(R.string.agree) { _, _ ->
573-
sharedPref.edit().putBoolean("agree_conditions2023", true).apply()
574+
sharedPref.edit().putBoolean("agree_conditions2024", true).apply()
574575
}
575576
.setNegativeButton(R.string.decline) { _, _ ->
576577
this.finish()

app/src/main/res/layout/contions.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
android:orientation="vertical"
1212
android:layout_height="match_parent">
1313

14-
<TextView
15-
android:layout_width="wrap_content"
16-
android:layout_height="wrap_content"
17-
android:id="@+id/dop_info"
18-
android:text="@string/for_users"/>
19-
2014
<Button
2115
android:id="@+id/terms_of_use"
2216
android:layout_width="match_parent"

app/src/main/res/values-ru/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,5 @@
181181
<string name="share">Поделиться</string>
182182
<string name="copy_text">Скопировать текст</string>
183183
<string name="copied_text">Текст заметки скопирован!</string>
184+
<string name="update_legacy">Условия использования и политика конфиденциальности обновляется для более понятного описания и новых возможностей. Дата обновления: 20.12.2024. Для продолжения использования согласитесь с условиями.</string>
184185
</resources>

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,5 @@
185185
<string name="share">Share</string>
186186
<string name="copy_text">Copy text</string>
187187
<string name="copied_text">Note text copied!</string>
188+
<string name="update_legacy">Terms of Use and Privacy Policy is being updated to be clearer and include new features. Last updated: 20.12.2024. To continue using, please agree to the terms.</string>
188189
</resources>

0 commit comments

Comments
 (0)