From 4acc51dd24b7a37b2521d1716156a80249a15969 Mon Sep 17 00:00:00 2001 From: tateisu Date: Wed, 17 Jan 2018 11:59:12 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=83=97=E3=83=AA=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=81=AB=E3=80=8C=E3=82=A2=E3=83=97=E3=83=AA=E5=90=8D=E3=82=92?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E3=81=AA=E3=82=89=E8=A1=A8=E7=A4=BA=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=80=8D=E3=82=92=E8=BF=BD=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/jp/juggler/subwaytooter/Pref.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/jp/juggler/subwaytooter/Pref.kt b/app/src/main/java/jp/juggler/subwaytooter/Pref.kt index 0ffaef61..61e6aa39 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/Pref.kt +++ b/app/src/main/java/jp/juggler/subwaytooter/Pref.kt @@ -92,7 +92,6 @@ object Pref { override fun put(editor : SharedPreferences.Editor, v : String) { editor.putString(key, v) } - } // boolean @@ -112,7 +111,10 @@ object Pref { val bpEnableGifAnimation = BooleanPref("enable_gif_animation", false, R.id.swEnableGifAnimation) val bpExitAppWhenCloseProtectedColumn = BooleanPref("ExitAppWhenCloseProtectedColumn", false, R.id.swExitAppWhenCloseProtectedColumn) val bpMentionFullAcct = BooleanPref("mention_full_acct", false, R.id.swMentionFullAcct) - val bpPostButtonBarTop = BooleanPref("post_button_bar_at_top", false, R.id.swPostButtonBarTop) + val bpNotificationLED = BooleanPref("notification_led", true, R.id.cbNotificationLED) + val bpNotificationSound = BooleanPref("notification_sound", true, R.id.cbNotificationSound) + val bpNotificationVibration = BooleanPref("notification_vibration", true, R.id.cbNotificationVibration) + val bpPostButtonBarTop = BooleanPref("post_button_bar_at_top", true, R.id.swPostButtonBarTop) val bpPriorChrome = BooleanPref("prior_chrome", true, R.id.swPriorChrome) val bpPriorLocalURL = BooleanPref("prior_local_url", false, R.id.swPriorLocalURL) val bpQuickTootBar = BooleanPref("quick_toot_bar", false, R.id.swQuickTootBar) @@ -122,9 +124,6 @@ object Pref { val bpSimpleList = BooleanPref("simple_list", true, R.id.swSimpleList) val bpUseInternalMediaViewer = BooleanPref("use_internal_media_viewer", true, R.id.swUseInternalMediaViewer) val bpShowAppName = BooleanPref("show_app_name", false, R.id.swShowAppName) - val bpNotificationSound = BooleanPref("notification_sound", true, R.id.cbNotificationSound) - val bpNotificationVibration = BooleanPref("notification_vibration", true, R.id.cbNotificationVibration) - val bpNotificationLED = BooleanPref("notification_led", true, R.id.cbNotificationLED) // int