Switch to com.takisoft.preferencex artifacts
This commit is contained in:
parent
47deb4e5ba
commit
a7d6d9c50f
10 changed files with 19 additions and 19 deletions
|
@ -19,10 +19,10 @@ dependencies {
|
|||
implementation project(':plugins:openpgp-api-lib:openpgp-api')
|
||||
|
||||
implementation "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
|
||||
implementation "com.takisoft.fix:preference-v7:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.fix:preference-v7-datetimepicker:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.fix:preference-v7-colorpicker:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.fix:preference-v7-ringtone:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.preferencex:preferencex:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.preferencex:preferencex-datetimepicker:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.preferencex:preferencex-colorpicker:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.preferencex:preferencex-ringtone:${versions.preferencesFix}"
|
||||
implementation "androidx.recyclerview:recyclerview:${versions.androidxRecyclerView}"
|
||||
implementation "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
|
||||
implementation "de.cketti.library.changelog:ckchangelog:1.2.1"
|
||||
|
|
|
@ -30,7 +30,7 @@ import com.fsck.k9.ui.settings.oneTimeClickListener
|
|||
import com.fsck.k9.ui.settings.remove
|
||||
import com.fsck.k9.ui.settings.removeEntry
|
||||
import com.fsck.k9.ui.withArguments
|
||||
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat
|
||||
import com.takisoft.preferencex.PreferenceFragmentCompat
|
||||
import com.fsck.k9.ui.observe
|
||||
import org.koin.android.architecture.ext.sharedViewModel
|
||||
import org.koin.android.ext.android.inject
|
||||
|
|
|
@ -7,7 +7,7 @@ import androidx.preference.PreferenceViewHolder
|
|||
import androidx.preference.TwoStatePreference
|
||||
import android.util.AttributeSet
|
||||
import com.fsck.k9.ui.R
|
||||
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat
|
||||
import com.takisoft.preferencex.PreferenceFragmentCompat
|
||||
|
||||
@SuppressLint("RestrictedApi")
|
||||
class AutocryptPreferEncryptPreference
|
||||
|
|
|
@ -4,8 +4,8 @@ import android.annotation.SuppressLint
|
|||
import android.content.Context
|
||||
import androidx.core.content.res.TypedArrayUtils
|
||||
import android.util.AttributeSet
|
||||
import com.takisoft.fix.support.v7.preference.ColorPickerPreference
|
||||
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat
|
||||
import com.takisoft.preferencex.ColorPickerPreference
|
||||
import com.takisoft.preferencex.PreferenceFragmentCompat
|
||||
|
||||
@SuppressLint("RestrictedApi")
|
||||
class HoloColorPickerPreference
|
||||
|
|
|
@ -9,7 +9,7 @@ import androidx.core.content.ContextCompat.startActivity
|
|||
import androidx.core.content.res.TypedArrayUtils
|
||||
import androidx.preference.Preference
|
||||
import android.util.AttributeSet
|
||||
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat
|
||||
import com.takisoft.preferencex.PreferenceFragmentCompat
|
||||
|
||||
@SuppressLint("RestrictedApi")
|
||||
class NotificationsPreference
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.fsck.k9.ui.R
|
|||
import com.fsck.k9.notification.NotificationController
|
||||
import com.fsck.k9.ui.settings.remove
|
||||
import com.fsck.k9.ui.withArguments
|
||||
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat
|
||||
import com.takisoft.preferencex.PreferenceFragmentCompat
|
||||
import org.koin.android.ext.android.inject
|
||||
|
||||
class GeneralSettingsFragment : PreferenceFragmentCompat() {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
android:key="account_settings"
|
||||
android:title="@string/account_settings_general_title">
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.AutoSummaryEditTextPreference
|
||||
<com.takisoft.preferencex.AutoSummaryEditTextPreference
|
||||
android:dialogTitle="@string/account_settings_description_label"
|
||||
android:key="account_description"
|
||||
android:title="@string/account_settings_description_label" />
|
||||
|
@ -211,7 +211,7 @@
|
|||
android:summary="@string/account_settings_strip_signature_summary"
|
||||
android:title="@string/account_settings_strip_signature_label" />
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.AutoSummaryEditTextPreference
|
||||
<com.takisoft.preferencex.AutoSummaryEditTextPreference
|
||||
android:dependency="quote_style"
|
||||
android:dialogTitle="@string/account_settings_quote_prefix_label"
|
||||
android:key="account_quote_prefix"
|
||||
|
@ -338,7 +338,7 @@
|
|||
android:summary="@string/account_notify_contacts_mail_only_summary"
|
||||
android:title="@string/account_notify_contacts_mail_only_label" />
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.RingtonePreference
|
||||
<com.takisoft.preferencex.RingtonePreference
|
||||
android:defaultValue="content://settings/system/notification_sound"
|
||||
android:dependency="account_notify"
|
||||
android:key="account_ringtone"
|
||||
|
@ -381,7 +381,7 @@
|
|||
android:summary="@string/account_settings_led_summary"
|
||||
android:title="@string/account_settings_led_label" />
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.ColorPickerPreference
|
||||
<com.takisoft.preferencex.ColorPickerPreference
|
||||
android:dependency="account_led"
|
||||
android:key="led_color"
|
||||
android:summary="@string/account_settings_led_color_summary"
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
android:summary="@string/global_settings_registered_name_color_changed"
|
||||
android:title="@string/global_settings_registered_name_color_label" />
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.ColorPickerPreference
|
||||
<com.takisoft.preferencex.ColorPickerPreference
|
||||
android:dependency="messagelist_change_contact_name_color"
|
||||
android:key="messagelist_contact_name_color"
|
||||
android:title="Contact name color" />
|
||||
|
@ -279,7 +279,7 @@
|
|||
android:summary="@string/quiet_time_notification_description"
|
||||
android:title="@string/quiet_time_notification" />
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.TimePickerPreference
|
||||
<com.takisoft.preferencex.TimePickerPreference
|
||||
android:dependency="quiet_time_enabled"
|
||||
android:key="quiet_time_starts"
|
||||
android:title="@string/quiet_time_starts"
|
||||
|
@ -287,7 +287,7 @@
|
|||
search:summary=""
|
||||
app:pref_summaryHasTime="%s" />
|
||||
|
||||
<com.takisoft.fix.support.v7.preference.TimePickerPreference
|
||||
<com.takisoft.preferencex.TimePickerPreference
|
||||
android:dependency="quiet_time_enabled"
|
||||
android:key="quiet_time_ends"
|
||||
android:title="@string/quiet_time_ends"
|
||||
|
|
|
@ -13,7 +13,7 @@ buildscript {
|
|||
'androidxLifecycleExtensions': '2.0.0',
|
||||
'androidxAnnotation': '1.0.1',
|
||||
'coreKtx': '1.0.1',
|
||||
'preferencesFix': '28.0.0.0',
|
||||
'preferencesFix': '1.0.0',
|
||||
'okio': '1.14.0',
|
||||
'timber': '4.5.1',
|
||||
'koin': '0.9.1',
|
||||
|
|
|
@ -17,5 +17,5 @@ android {
|
|||
dependencies {
|
||||
implementation "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
|
||||
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
||||
implementation "com.takisoft.fix:preference-v7:${versions.preferencesFix}"
|
||||
implementation "com.takisoft.preferencex:preferencex:${versions.preferencesFix}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue