|
1 | | -/* |
2 | | - * This file is a part of SensorSpot (https://www.github.com/UmerCodez/SensorSpot) |
3 | | - * Copyright (C) 2025 Umer Farooq (umerfarooq2383@gmail.com) |
4 | | - * |
5 | | - * SensorSpot is free software: you can redistribute it and/or modify |
6 | | - * it under the terms of the GNU General Public License as published by |
7 | | - * the Free Software Foundation, either version 3 of the License, or |
8 | | - * (at your option) any later version. |
9 | | - * |
10 | | - * SensorSpot is distributed in the hope that it will be useful, |
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | | - * GNU General Public License for more details. |
14 | | - * |
15 | | - * You should have received a copy of the GNU General Public License |
16 | | - * along with SensorSpot. If not, see <https://www.gnu.org/licenses/>. |
17 | | - * |
18 | | - */ |
| 1 | +/* |
| 2 | + * This file is a part of SensorSpot (https://www.github.com/UmerCodez/SensorSpot) |
| 3 | + * Copyright (C) 2025 Umer Farooq (umerfarooq2383@gmail.com) |
| 4 | + * |
| 5 | + * SensorSpot is free software: you can redistribute it and/or modify |
| 6 | + * it under the terms of the GNU General Public License as published by |
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
| 8 | + * (at your option) any later version. |
| 9 | + * |
| 10 | + * SensorSpot is distributed in the hope that it will be useful, |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | + * GNU General Public License for more details. |
| 14 | + * |
| 15 | + * You should have received a copy of the GNU General Public License |
| 16 | + * along with SensorSpot. If not, see <https://www.gnu.org/licenses/>. |
| 17 | + * |
| 18 | + */ |
19 | 19 | package com.github.umercodez.sensorspot.ui.screens.settings |
20 | 20 |
|
21 | 21 | import androidx.compose.animation.AnimatedVisibility |
@@ -92,7 +92,7 @@ fun SettingsScreen( |
92 | 92 | isError = { value -> |
93 | 93 | value.isEmpty() |
94 | 94 | }, |
95 | | - onUpdateClick = { onEvent(SettingsScreenEvent.OnBrokerPortChange(it.toInt())) }, |
| 95 | + onUpdateClick = { onEvent(SettingsScreenEvent.OnTopicChange(it)) } |
96 | 96 | ) |
97 | 97 |
|
98 | 98 | ListItem( |
|
0 commit comments