This commit is contained in:
Tommaso Berlose 2020-05-19 20:01:11 +02:00
parent 2ac7e072e5
commit 66ad5e0839
3 changed files with 15 additions and 17 deletions

Binary file not shown.

View File

@ -18,7 +18,7 @@ android {
applicationId "com.tommasoberlose.anotherwidget" applicationId "com.tommasoberlose.anotherwidget"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 29 targetSdkVersion 29
versionCode 97 versionCode 98
versionName "2.0.10" versionName "2.0.10"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View File

@ -251,7 +251,6 @@ class GeneralTabFragment : Fragment() {
} }
action_date_format.setOnClickListener { action_date_format.setOnClickListener {
if (Preferences.showEvents) {
val now = Calendar.getInstance() val now = Calendar.getInstance()
val dialog = BottomSheetMenu<String>(requireContext(), header = getString(R.string.settings_date_format_title)).setSelectedValue(Preferences.dateFormat) val dialog = BottomSheetMenu<String>(requireContext(), header = getString(R.string.settings_date_format_title)).setSelectedValue(Preferences.dateFormat)
@ -269,7 +268,6 @@ class GeneralTabFragment : Fragment() {
} }
}.show() }.show()
} }
}
action_background_color.setOnClickListener { action_background_color.setOnClickListener {
BottomSheetColorPicker(requireContext(), BottomSheetColorPicker(requireContext(),