File tree Expand file tree Collapse file tree 3 files changed +7
-15
lines changed
kotlin/com/simplemobiletools/notes/pro/databases Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ android {
1414
1515 defaultConfig {
1616 applicationId " com.simplemobiletools.notes.pro"
17- minSdkVersion 21
17+ minSdkVersion 23
1818 targetSdkVersion 33
1919 versionCode 99
2020 versionName " 6.14.1"
@@ -63,7 +63,7 @@ android {
6363}
6464
6565dependencies {
66- implementation ' com.github.SimpleMobileTools:Simple-Commons:a1ecb048c0 '
66+ implementation ' com.github.SimpleMobileTools:Simple-Commons:6323be1fd7 '
6767 implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
6868 implementation ' androidx.documentfile:documentfile:1.0.1'
6969
Original file line number Diff line number Diff line change 2929
3030 <activity
3131 android : name =" .activities.MainActivity"
32+ android : configChanges =" orientation"
3233 android : exported =" true"
3334 android : launchMode =" singleTask" >
3435
5758
5859 <activity
5960 android : name =" com.simplemobiletools.commons.activities.AboutActivity"
61+ android : configChanges =" orientation"
6062 android : exported =" false"
6163 android : label =" @string/about"
6264 android : parentActivityName =" .activities.MainActivity" />
6365
6466 <activity
6567 android : name =" com.simplemobiletools.commons.activities.CustomizationActivity"
68+ android : configChanges =" orientation"
6669 android : exported =" false"
6770 android : label =" @string/customize_colors"
6871 android : parentActivityName =" .activities.SettingsActivity" />
6972
70- <activity
71- android : name =" com.simplemobiletools.commons.activities.LicenseActivity"
72- android : exported =" false"
73- android : label =" @string/third_party_licences"
74- android : parentActivityName =" com.simplemobiletools.commons.activities.AboutActivity" />
75-
76- <activity
77- android : name =" com.simplemobiletools.commons.activities.FAQActivity"
78- android : exported =" false"
79- android : label =" @string/frequently_asked_questions"
80- android : parentActivityName =" com.simplemobiletools.commons.activities.AboutActivity" />
81-
8273 <activity
8374 android : name =" .activities.SettingsActivity"
75+ android : configChanges =" orientation"
8476 android : exported =" true"
8577 android : label =" @string/settings"
8678 android : parentActivityName =" .activities.MainActivity" >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ abstract class NotesDatabase : RoomDatabase() {
2828 private var defaultWidgetBgColor = 0
2929
3030 fun getInstance (context : Context ): NotesDatabase {
31- defaultWidgetBgColor = context.resources.getInteger (R .integer .default_widget_bg_color)
31+ defaultWidgetBgColor = context.resources.getColor (R .color .default_widget_bg_color)
3232 if (db == null ) {
3333 synchronized(NotesDatabase ::class ) {
3434 if (db == null ) {
You can’t perform that action at this time.
0 commit comments