mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Minor cleanup/fixes
- Add FAB collapsing in clear database screen (fixes #7935) - Don't allow multiline category names to be entered - Consolidate Downloaded Only / Incognito Mode banner components - Fix see-through migrate screen sticky header
This commit is contained in:
@@ -13,8 +13,7 @@ import androidx.compose.ui.unit.dp
|
||||
import com.google.accompanist.pager.PagerState
|
||||
import eu.kanade.domain.category.model.Category
|
||||
import eu.kanade.presentation.category.visualName
|
||||
import eu.kanade.presentation.components.DownloadedOnlyModeBanner
|
||||
import eu.kanade.presentation.components.IncognitoModeBanner
|
||||
import eu.kanade.presentation.components.AppStateBanners
|
||||
import eu.kanade.presentation.components.TabIndicator
|
||||
import eu.kanade.presentation.components.TabText
|
||||
import kotlinx.coroutines.launch
|
||||
@@ -51,11 +50,7 @@ fun LibraryTabs(
|
||||
)
|
||||
}
|
||||
}
|
||||
if (isDownloadOnly) {
|
||||
DownloadedOnlyModeBanner()
|
||||
}
|
||||
if (isIncognitoMode) {
|
||||
IncognitoModeBanner()
|
||||
}
|
||||
|
||||
AppStateBanners(isDownloadOnly, isIncognitoMode)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user