feat: label sample device list in admin (v0.3.4)
This commit is contained in:
@@ -24,8 +24,8 @@ android {
|
||||
applicationId = "kr.tkrmagid.easyappliance"
|
||||
minSdk = 24
|
||||
targetSdk = 35
|
||||
versionCode = (project.findProperty("verCode") as String?)?.toInt() ?: 6
|
||||
versionName = (project.findProperty("verName") as String?) ?: "0.3.3"
|
||||
versionCode = (project.findProperty("verCode") as String?)?.toInt() ?: 7
|
||||
versionName = (project.findProperty("verName") as String?) ?: "0.3.4"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
|
||||
@@ -115,6 +115,15 @@ fun AdminScreen(
|
||||
}
|
||||
}
|
||||
|
||||
if (!state.usingRealApi) {
|
||||
Spacer(Modifier.height(12.dp))
|
||||
Text(
|
||||
"지금 목록은 예시(샘플) 기기입니다. 실제 기기를 보려면 아래 'SmartThings 연결'에서 토큰을 입력한 뒤 '목록 새로고침'을 누르세요.",
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
color = MaterialTheme.colorScheme.error,
|
||||
)
|
||||
}
|
||||
|
||||
Spacer(Modifier.height(12.dp))
|
||||
OutlinedButton(
|
||||
onClick = onRefreshDevices,
|
||||
|
||||
Reference in New Issue
Block a user