From afd4ee00b61b507ffaba59c0dd055ab4409b00bf Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 19 Aug 2019 22:31:58 +0200 Subject: [PATCH] update commons to 5.16.12 --- app/build.gradle | 2 +- .../notes/pro/activities/MainActivity.kt | 3 ++- .../notes/pro/activities/SplashActivity.kt | 2 -- .../notes/pro/adapters/ChecklistAdapter.kt | 4 ++-- .../notes/pro/fragments/ChecklistFragment.kt | 2 +- app/src/main/res/layout/fragment_checklist.xml | 2 +- app/src/main/res/layout/item_checklist.xml | 2 +- app/src/main/res/layout/open_note_item.xml | 4 +--- app/src/main/res/menu/cab_checklist.xml | 2 +- app/src/main/res/menu/menu.xml | 14 +++++++------- app/src/main/res/values/donottranslate.xml | 1 + 11 files changed, 18 insertions(+), 20 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 18567cd5..b6d1ec0a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,7 +51,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.15.9' + implementation 'com.simplemobiletools:commons:5.16.12' kapt 'androidx.room:room-compiler:2.1.0' implementation 'androidx.room:room-runtime:2.1.0' diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt index 9e871663..91732663 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt @@ -341,7 +341,8 @@ class MainActivity : SimpleActivity() { FAQItem(R.string.faq_1_title_commons, R.string.faq_1_text_commons), FAQItem(R.string.faq_4_title_commons, R.string.faq_4_text_commons), FAQItem(R.string.faq_2_title_commons, R.string.faq_2_text_commons), - FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons) + FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons), + FAQItem(R.string.faq_7_title_commons, R.string.faq_7_text_commons) ) startAboutActivity(R.string.app_name, licenses, BuildConfig.VERSION_NAME, faqItems, true) diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SplashActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SplashActivity.kt index cb503fff..45c8e25f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SplashActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SplashActivity.kt @@ -5,8 +5,6 @@ import com.simplemobiletools.commons.activities.BaseSplashActivity import com.simplemobiletools.notes.pro.helpers.OPEN_NOTE_ID class SplashActivity : BaseSplashActivity() { - override fun getAppPackageName() = packageName - override fun initActivity() { if (intent.extras?.containsKey(OPEN_NOTE_ID) == true) { Intent(this, MainActivity::class.java).apply { diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/ChecklistAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/ChecklistAdapter.kt index f1b2d4a2..1e388843 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/ChecklistAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/ChecklistAdapter.kt @@ -73,8 +73,8 @@ class ChecklistAdapter(activity: BaseSimpleActivity, var items: ArrayList + android:src="@drawable/ic_plus_vector"/> diff --git a/app/src/main/res/layout/item_checklist.xml b/app/src/main/res/layout/item_checklist.xml index 995a2817..d399497a 100644 --- a/app/src/main/res/layout/item_checklist.xml +++ b/app/src/main/res/layout/item_checklist.xml @@ -30,6 +30,6 @@ android:layout_alignParentRight="true" android:layout_centerVertical="true" android:padding="@dimen/normal_margin" - android:src="@drawable/ic_cross_big"/> + android:src="@drawable/ic_cross_vector"/> diff --git a/app/src/main/res/layout/open_note_item.xml b/app/src/main/res/layout/open_note_item.xml index 79264092..f7063db4 100644 --- a/app/src/main/res/layout/open_note_item.xml +++ b/app/src/main/res/layout/open_note_item.xml @@ -17,10 +17,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" android:layout_marginEnd="@dimen/small_margin" - android:layout_marginRight="@dimen/small_margin" android:padding="@dimen/small_margin" - android:src="@drawable/ic_attach_file"/> + android:src="@drawable/ic_attach_file_vector"/> diff --git a/app/src/main/res/menu/cab_checklist.xml b/app/src/main/res/menu/cab_checklist.xml index de3ff06a..846ca634 100644 --- a/app/src/main/res/menu/cab_checklist.xml +++ b/app/src/main/res/menu/cab_checklist.xml @@ -8,7 +8,7 @@ app:showAsAction="ifRoom"/> diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 5966a6cd..fe032a88 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -3,27 +3,27 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> + com.simplemobiletools.notes.pro Allow customizing the bottom navigation bar color