Skip to content
Snippets Groups Projects
Commit 4d43cc69 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fix a minor reordering issue

parent f378d1cc
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ android {
signingConfig = signingConfigs.getByName("default")
resConfigs("auto")
resConfigs("de", "en")
vectorDrawables.useSupportLibrary = true
......
data class VersionContext(val version: String)
inline fun withVersion(version: String, f: VersionContext.() -> Unit) {
inline fun withVersion(version: Any?, f: VersionContext.() -> Unit) {
(version as? String)?.let {
VersionContext(version).f()
}
}
\ No newline at end of file
......@@ -207,7 +207,7 @@ FROM
WHERE bufferId = ?
AND type & ~? > 0
) t
ORDER BY time DESC
ORDER BY time, messageId DESC
""", arrayOf(bufferId, type, bufferId, bufferId, type)))
fun QuasselDatabase.MessageDao.findByBufferIdWithDayChange(bufferId: Int, type: Int) =
......@@ -241,5 +241,5 @@ FROM
WHERE bufferId = ?
AND type & ~? > 0
) t
ORDER BY time DESC
ORDER BY time, messageId DESC
""", arrayOf(bufferId, type, bufferId, bufferId, type)))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment