From 289c0cf66ae77912ffb20d0d234990045098ee35 Mon Sep 17 00:00:00 2001 From: Matt Fellenz Date: Tue, 9 Jan 2024 15:16:18 -0800 Subject: [PATCH 1/2] Properly remove AM/PM indicator I observed that the space before the AM/PM indicator was really an NBSP which caused the original pattern to not match. This pattern, which uses `\s` instead, should match any type of spacing. --- .../src/main/java/com/moez/QKSMS/common/util/DateFormatter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/src/main/java/com/moez/QKSMS/common/util/DateFormatter.kt b/presentation/src/main/java/com/moez/QKSMS/common/util/DateFormatter.kt index b032202f..66eca516 100644 --- a/presentation/src/main/java/com/moez/QKSMS/common/util/DateFormatter.kt +++ b/presentation/src/main/java/com/moez/QKSMS/common/util/DateFormatter.kt @@ -42,7 +42,7 @@ class DateFormatter @Inject constructor(val context: Context) { formattedPattern = formattedPattern .replace("h", "HH") .replace("K", "HH") - .replace(" a".toRegex(), "") + .replace("\\s+a".toRegex(), "") } return SimpleDateFormat(formattedPattern, Locale.getDefault()) From ca4f582f3c85c16b1518b039387b7ce46a01b7cd Mon Sep 17 00:00:00 2001 From: octoshrimpy Date: Thu, 8 Feb 2024 00:47:44 -0700 Subject: [PATCH 2/2] Update README.md housekeeping, narrowing down project. --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cb44546a..4248cba2 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,7 @@ -> **Note** -This fork is attempting to be up to date with new features. Ultimately, we'd like one app that allows for discord, slack, sms, matrix, etc natively, instead of through server-oriented bridges. By loading these as plugins, the user can put together a messaging app that fits their needs. The base app will handle SMS like its predecessor, but also load and use plugins for other messaging platforms. - ---- - ![QKSMS](https://user-images.githubusercontent.com/4358785/39079306-a5a409b6-44e5-11e8-8589-b4acd63b636e.jpg) -> **Warning** -This image is outdated! Will be updating it soon. +> **Note** +This image is outdated! Nothing has changed as far as UI, so it should be okay for now. # QUIK