feat: label sample device list in admin (v0.3.4)
This commit is contained in:
@@ -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