Skip to content

Commit

Permalink
Refactor: address detekt long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
zwarm committed Jan 29, 2024
1 parent e81dd06 commit bc6452d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@ class ActivityNavigator @Inject constructor() {
context.startActivity(intent)
}

fun openSiteMonitoringInNewStack(context: Context, site: SiteModel?, siteMonitorType: SiteMonitorType = SiteMonitorType.METRICS) {
fun openSiteMonitoringInNewStack(
context: Context,
site: SiteModel?,
siteMonitorType: SiteMonitorType = SiteMonitorType.METRICS
) {
if (site == null) {
ToastUtils.showToast(context, R.string.site_monitoring_cannot_be_started, ToastUtils.Duration.SHORT)
return
Expand Down

0 comments on commit bc6452d

Please sign in to comment.