Skip to content

Commit ff91a6c

Browse files
committed
Disable 'save' button for time when combatant is being saved
1 parent d72f943 commit ff91a6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/cz/muni/fi/rpg/ui/gameMaster/encounters/CombatantFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ class CombatantFragment : BaseFragment(R.layout.fragment_combatant),
8585
return false
8686
}
8787

88+
item.isEnabled = false
89+
8890
val name = nameInput.getValue()
8991
val note = noteInput.getValue()
9092
val maxWounds = maxWoundsInput.getValue().toInt()

0 commit comments

Comments
 (0)