mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
Game storage is automatic: a card in the phone is a Steam library by itself
The choice belongs inside the client - the drive drop-down on Install, Settings > Storage - so the app no longer needs a setting for the common case. Default = automatic (the first SD card present); the cog keeps Internal only and a chosen folder.
This commit is contained in:
1 parent
fa25451766
commit
1374091d1b
7 files changed
+43
-16
No files matched your search
@@ -386,7 +386,7 @@ class MainActivity : ComponentActivity() {
|
||||
|
||||
/** A second Steam library, proven writable first; "" = internal only. */
|
||||
private fun setGameStorage(path: String, label: String) {
|
||||
if (path.isNotEmpty()) {
|
||||
if (path.isNotEmpty() && path != SessionPrefs.GAME_STORAGE_OFF) {
|
||||
val problem = GameStorage.prepare(path)
|
||||
if (problem != null) {
|
||||
android.widget.Toast.makeText(this, "Not usable: $problem", android.widget.Toast.LENGTH_LONG).show()
|
||||
|
||||
Reference in new issue
Block a user