Compare commits

..

No commits in common. "106a0b7b78a1ce09d965b15b1dc5e716f63eb7c9" and "c5a401c1e5808531beb20581ea898e7a994e2791" have entirely different histories.

4 changed files with 10 additions and 16 deletions

View file

@ -5,15 +5,18 @@ I'm making this to learn stuff please don't rely on this app
# Requirements # Requirements
- Android 10 or newer (so 7 year old devices should be good) - 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 # Features
not much yet - material you supported
- dashboard
home and instances icons are from font awesome
### TODOs ### TODOs
- move todos to issues - move todos to issues
- readme - readme
- figure out the api - figure out the api
- gb gib mb mib - gb gib mb mib
### Credits
home and instances icons are from font awesome

View file

@ -21,10 +21,8 @@ import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.KeyboardArrowRight import androidx.compose.material.icons.automirrored.filled.KeyboardArrowRight
import androidx.compose.material3.AlertDialog import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Button import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import androidx.compose.material3.Card import androidx.compose.material3.Card
import androidx.compose.material3.Icon import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text import androidx.compose.material3.Text
import androidx.compose.material3.TextButton import androidx.compose.material3.TextButton
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
@ -229,17 +227,14 @@ fun InstanceDeleteDialog(
TextButton( TextButton(
onClick = { onConfirm() } onClick = { onConfirm() }
) { ) {
Text(stringResource(id = R.string.confirm)) Text("Confirm")
} }
}, },
dismissButton = { dismissButton = {
TextButton( TextButton(
onClick = { onClose() }, onClick = { onClose() }
colors = ButtonDefaults.textButtonColors().copy(
contentColor = MaterialTheme.colorScheme.error
)
) { ) {
Text(stringResource(id = R.string.dismiss)) Text("Dismiss")
} }
}, },
title = { title = {

View file

@ -33,6 +33,4 @@
<string name="rent_on_website">Jeszcze nie możesz wynajmować z tej aplikacji</string> <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">Potwierdź usunięcie</string>
<string name="instance_confirm_delete_text">Instancja #%1$d (%2$s)</string> <string name="instance_confirm_delete_text">Instancja #%1$d (%2$s)</string>
<string name="dismiss">Anuluj</string>
<string name="confirm">Potwierdź</string>
</resources> </resources>

View file

@ -34,6 +34,4 @@
<string name="rent_on_website">You can\'t rent from this app yet</string> <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">Confirm deletion</string>
<string name="instance_confirm_delete_text">Instance #%1$d (%2$s)</string> <string name="instance_confirm_delete_text">Instance #%1$d (%2$s)</string>
<string name="dismiss">Dismiss</string>
<string name="confirm">Confirm</string>
</resources> </resources>