diff options
author | Allan Wang <me@allanwang.ca> | 2019-07-01 23:35:35 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-07-01 23:35:35 -0700 |
commit | 03e16c98c7b7bf69a57d0cb3e19df807f3b355fa (patch) | |
tree | 137ba0b497fe61b89b49030cef2743b92c300676 /app | |
parent | 7d3d869c7e1724e3b17e1266b68ed0a14aa60d62 (diff) | |
download | frost-03e16c98c7b7bf69a57d0cb3e19df807f3b355fa.tar.gz frost-03e16c98c7b7bf69a57d0cb3e19df807f3b355fa.tar.bz2 frost-03e16c98c7b7bf69a57d0cb3e19df807f3b355fa.zip |
Update changelog and apply spotless
Diffstat (limited to 'app')
4 files changed, 40 insertions, 8 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/DragFrame.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/DragFrame.kt index db9b901b..c2f36536 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/DragFrame.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/DragFrame.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 Allan Wang + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ package com.pitchedapps.frost.views import android.annotation.SuppressLint @@ -9,7 +25,9 @@ import androidx.core.view.ViewCompat import androidx.customview.widget.ViewDragHelper class DragFrame @JvmOverloads constructor( - context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 + context: Context, + attrs: AttributeSet? = null, + defStyleAttr: Int = 0 ) : FrameLayout(context, attrs, defStyleAttr) { var dragHelper: ViewDragHelper? = null @@ -37,4 +55,4 @@ class DragFrame @JvmOverloads constructor( ViewCompat.postInvalidateOnAnimation(this) } } -}
\ No newline at end of file +} diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/SwipeRefreshLayout.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/SwipeRefreshLayout.kt index 2154ce2d..5c7c58f1 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/SwipeRefreshLayout.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/SwipeRefreshLayout.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 Allan Wang + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ package com.pitchedapps.frost.views import android.content.Context @@ -84,4 +100,4 @@ class SwipeRefreshLayout @JvmOverloads constructor(context: Context, attrs: Attr * Alias for adding on refresh listener */ interface OnRefreshListener : SwipeRefreshLayout.OnRefreshListener -}
\ No newline at end of file +} diff --git a/app/src/main/play/en-US/whatsnew b/app/src/main/play/en-US/whatsnew index cd43de9e..9ae7372d 100644 --- a/app/src/main/play/en-US/whatsnew +++ b/app/src/main/play/en-US/whatsnew @@ -1,4 +1,5 @@ v2.3.1 * Hide all story panels if enabled -* Prevent swipe to refresh if not at the very top
\ No newline at end of file +* Prevent swipe to refresh if not at the very top +* Add vertical swipe to dismiss when viewing images
\ No newline at end of file diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index c059c532..32fc108b 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -9,7 +9,7 @@ <version title="v2.3.1" /> <item text="Hide all story panels if enabled" /> <item text="Prevent swipe to refresh if not at the very top" /> - <item text="" /> + <item text="Add vertical swipe to dismiss when viewing images" /> <item text="" /> <item text="" /> @@ -21,9 +21,6 @@ <item text="Add fingerprint unlock screen" /> <item text="Fix messenger redirect" /> <item text="Lots of internal updates" /> - <item text="" /> - <item text="" /> - <item text="" /> <version title="v2.2.4" /> <item text="Show top bar to allow sharing posts" /> |