Compare commits
2 commits
c5a401c1e5
...
106a0b7b78
Author | SHA1 | Date | |
---|---|---|---|
106a0b7b78 | |||
d29aa94f3b |
4 changed files with 16 additions and 10 deletions
11
README.md
11
README.md
|
@ -5,18 +5,15 @@ I'm making this to learn stuff please don't rely on this app
|
|||
|
||||
# Requirements
|
||||
- Android 10 or newer (so 7 year old devices should be good)
|
||||
- This app is optimized for phones and tablets \
|
||||
although similar screens like auto or desktop should work \
|
||||
no support for other form factor devices like wearables or tvs
|
||||
|
||||
# Features
|
||||
- material you supported
|
||||
- dashboard
|
||||
|
||||
home and instances icons are from font awesome
|
||||
not much yet
|
||||
|
||||
### TODOs
|
||||
- move todos to issues
|
||||
- readme
|
||||
- figure out the api
|
||||
- gb gib mb mib
|
||||
|
||||
### Credits
|
||||
home and instances icons are from font awesome
|
||||
|
|
|
@ -21,8 +21,10 @@ import androidx.compose.material.icons.Icons
|
|||
import androidx.compose.material.icons.automirrored.filled.KeyboardArrowRight
|
||||
import androidx.compose.material3.AlertDialog
|
||||
import androidx.compose.material3.Button
|
||||
import androidx.compose.material3.ButtonDefaults
|
||||
import androidx.compose.material3.Card
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.TextButton
|
||||
import androidx.compose.runtime.Composable
|
||||
|
@ -227,14 +229,17 @@ fun InstanceDeleteDialog(
|
|||
TextButton(
|
||||
onClick = { onConfirm() }
|
||||
) {
|
||||
Text("Confirm")
|
||||
Text(stringResource(id = R.string.confirm))
|
||||
}
|
||||
},
|
||||
dismissButton = {
|
||||
TextButton(
|
||||
onClick = { onClose() }
|
||||
onClick = { onClose() },
|
||||
colors = ButtonDefaults.textButtonColors().copy(
|
||||
contentColor = MaterialTheme.colorScheme.error
|
||||
)
|
||||
) {
|
||||
Text("Dismiss")
|
||||
Text(stringResource(id = R.string.dismiss))
|
||||
}
|
||||
},
|
||||
title = {
|
||||
|
|
|
@ -33,4 +33,6 @@
|
|||
<string name="rent_on_website">Jeszcze nie możesz wynajmować z tej aplikacji</string>
|
||||
<string name="instance_confirm_delete">Potwierdź usunięcie</string>
|
||||
<string name="instance_confirm_delete_text">Instancja #%1$d (%2$s)</string>
|
||||
<string name="dismiss">Anuluj</string>
|
||||
<string name="confirm">Potwierdź</string>
|
||||
</resources>
|
|
@ -34,4 +34,6 @@
|
|||
<string name="rent_on_website">You can\'t rent from this app yet</string>
|
||||
<string name="instance_confirm_delete">Confirm deletion</string>
|
||||
<string name="instance_confirm_delete_text">Instance #%1$d (%2$s)</string>
|
||||
<string name="dismiss">Dismiss</string>
|
||||
<string name="confirm">Confirm</string>
|
||||
</resources>
|
Loading…
Reference in a new issue