The custom List<Pair<String, Any>> implementation of SnyggIdToValueMap
is removed in favor of the typealias for MutableMap<String, Any>. This
way we can work with normal map functions and have a more optimized
data-structure for our use-case.
The SnyggIdToValueMap.new() functions are replaced by a single
snyggIdToValueMapOf() function which allocates a new MutableMap.
The getOrThrow and getOrNull functions are modified to work with the
new underling map data-structure. The add function is a direct alias
to the putAll function.
* Improve crash screen
The whole crash screen content is now scrollable
and the buttons to report or close the activity
were moved to a footer. To distinguish between
the log content and the general explanation, a
horizontal divider was added.
* Do not restart activity on orientation change
* Rework one-handed mode.
The one-handed mode now remembers the position
where it was disabled and opens to this position
the next time it is activated.
* Add seperade `TOGGLE_COMPACT_LAYOUT` keycode
* Update AppPrefs.kt
* Update KeyboardScreen.kt
* Update ComputingEvaluator.kt
* Remove old migration rules
* Rename advanced settings to other and move incognito settings to typing
* Move clipboard suggestions to clipboard screen
* Move other to correct alphabetical location
* Optimize++
* test commit
* hi-IN popupmappings id added
* basic layout
* heart replaces with space
* code corrected
* lots of other keys added
* all characters have been added
* popmappings rearranged
* some positional change
* * and \ won't popup due to क्ष and ज्ञ
* ओ औ code correced
* some vovels reordered
* Hindi does not capitalization concept
* Add initial support for switching the subtype on space bar long press
* Fix keyboard presses behind the header panel
* Fix taps behind sheet
* Extract string ressource and refactor code
* Instant select subtype
* Persist suptype change in prefs
* Update snygg dynamic color scheme on wallpaper change
* Move broadcast receiver handling to FlorisImeService and properly unregister the receiver
* Set systembar color on stylesheet change
* Fix text being rendered behind the top app bar
This commit fixes an issue where the text was rendered
behind the top app bar in the crash dialog activity by
removing the top app bar in the style and adding a top
app bar in the layout XML.
* Fix toolbar rendering messed up in crash dialog screen
---------
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
This commit fixes an issue where the BottomSheetContent
was drawn behind the system navigation bar. To fix this
issue, I applied the saveDrawingPadding Modifier to the
AnimatedVisibility. There was a color problem on the
system navigation bar, so I set the background color to
SheetOutOfBoundsBgColorInactive. Now the system nav bar
is colored the right way.
This Commit fixes a crash when opening the clipboard history
with a theme which does not provide a sp size for the header
or the clipboard item. The sp value is now saveTimes multiplied
with 1f.