Commit graph

72 commits

Author SHA1 Message Date
andrekir
86cdb0106f refactor: replace focusManager parameter with LocalFocusManager 2023-09-08 16:05:40 -03:00
andrekir
1cdfe59137 refactor: update @Previews to private functions 2023-08-19 07:30:47 -03:00
andrekir
f27ae8feba refactor: hoist SnackbarHost to Scaffold 2023-07-18 18:28:49 -03:00
andrekir
d58e092333 fix: show modem preset name if channel name is empty
(or "Default" if not available)
2023-05-21 09:19:55 -03:00
andrekir
a4baa93f4e fix: remove remember from isEditing variable 2023-05-20 11:32:49 -03:00
andrekir
0c78bc4e49 feat: add managed mode 2023-05-13 18:18:49 -03:00
Andre K
e5a860cb36
feat: add channel editor (#627) 2023-04-29 07:14:30 -03:00
andrekir
dc596e25a2 fix: corrected channel name change behavior 2023-04-13 17:34:28 -03:00
andrekir
e03ab70e66 chore: add Lifecycle utilities for Compose
and replace collectAsState() with collectAsStateWithLifecycle()
2023-04-10 20:29:47 -03:00
Andre K
5bf4c9c184
refactor: migrate ChannelFragment to Composable (#615) 2023-04-07 12:43:29 -03:00
andrekir
b3d581486a fix: add onDestroyView() to release fragment resources 2023-04-03 18:03:55 -03:00
andrekir
5a28649a08 refactor: consolidate extensions 2023-03-02 21:37:04 -03:00
Andre K
99a42b1aa1
export hardcoded strings (#547) 2022-12-28 17:37:25 -03:00
Andre K
4bcd408dce
add user & device config settings (#520)
* add MeshUser & LocalConfig prefs
2022-11-08 23:11:18 -03:00
andrekir
f310bb2019 change ModemPreset and don't reset LoRaConfig 2022-10-13 18:20:51 -03:00
andrekir
88b94bd018 move ChannelSet out of service 2022-10-12 09:02:25 -03:00
andrekir
99dc509b6f fix channel settings 2022-09-18 20:23:34 -03:00
andrekir
5382fdae49 update for proto changes 2022-09-18 18:35:13 -03:00
andrekir
5612d7d7c9 convert channel builders to dsl 2022-09-16 18:17:47 -03:00
andrekir
2ed5548abb create ChannelSet datastore 2022-09-12 19:07:30 -03:00
andrekir
5eb5cd1421 incorporate androidlib 2022-09-04 22:52:40 -03:00
andrekir
27ee6a847a remove play services code scanner 2022-08-25 20:50:55 -03:00
Tom
f8cec34862
Improve warning message
Improve wording and add channel name to the default psk warning

Co-authored-by: Andre K <andrekir@pm.me>
2022-08-23 10:44:34 +00:00
Douile
7c940d209a
Show warning in dialog when using default encryption key 2022-08-22 16:19:59 +01:00
andrekir
bdba5bc31f fix code scanner choice by installSource 2022-08-14 20:13:09 -03:00
andrekir
0ef0e965dd only use mlkit for playstore installs 2022-08-05 00:05:19 -03:00
andrekir
ea0a69524c move fragment ActivityResults to onViewCreated 2022-08-04 23:56:52 -03:00
andrekir
4556464b32 register ActivityResult before launch() 2022-07-26 23:49:10 -03:00
andrekir
1f60c4ddf4 move region logic out of service 2022-07-26 23:01:28 -03:00
andrekir
6184e9f30c improve location permission check 2022-06-07 00:33:24 -03:00
andrekir
875939931e add localonly & update apponly protobufs 2022-05-30 17:43:05 -03:00
andrekir
48fd657d8a update protobufs 2022-05-26 16:23:47 -03:00
andrekir
a4e1f0de77 add mlkit barcode scanner 2022-05-17 17:29:21 -03:00
andrekir
9e3bab8367 update deprecated IntentIntegrator 2022-05-03 17:32:01 -03:00
andrekir
27c1817a59 rename isConnected --> connectionState 2022-04-24 12:12:13 -03:00
Andre Kirchhoff
9cd1856bb9
Merge pull request #372 from meshtastic/release
1.2.57
2022-02-09 23:15:27 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
andrekir
a42ba77bf2 clean up snackbar 2022-02-07 21:50:31 -03:00
andrekir
d76e631684 call perhapsChangeChannel from qr code result 2022-02-03 02:13:35 -03:00
andrekir
e8e389930e downgrade zxing:core for minSdkVersion 21 2022-01-10 00:33:26 -03:00
andrekir
bd42397237 add dialog / strings (camera_required & why_camera_required) 2021-11-19 23:35:10 -03:00
andrekir
062dbbc47d camera permissions routine 2021-11-19 01:20:54 -03:00
andrekir
14af474b71 minor details
all changes (edit, reset, scan) require unlock
2021-11-17 21:00:46 -03:00
andrekir
3ecc247c76 QR Code scanning with camera 2021-11-17 21:00:46 -03:00
Kevin Hester
0c70ae860e If we are unable to generate a barcode, just show nothing 2021-04-05 15:52:26 +08:00
Kevin Hester
7bb3511587 allow longer channel names (if you include the # prefix and suffix 2021-04-05 15:35:12 +08:00
Kevin Hester
7f6ed483a9 fix #271, changing speeds was busted, also other dark patterns in editing 2021-04-05 15:17:39 +08:00
Kevin Hester
395bc59c9c ChannelSettings.defaultInstance is garbage, do not use it 2021-04-04 17:44:25 +08:00
Kevin Hester
7d898481a6 fix autobug for devices that don't have URL sharing support 2021-03-31 19:45:31 +08:00
Kevin Hester
10d6537972 Disable the "set default channel" button if already on the default channel 2021-03-24 14:28:11 +08:00