Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Widgets/SyncButton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public class Widgets.SyncButton : Adw.Bin {
private void network_available () {
if (Services.NetworkMonitor.instance ().network_available) {
stack.visible_child_name = "sync";
tooltip_markup = "";
} else {
stack.visible_child_name = "error";
tooltip_markup = "<b>%s</b>\n%s".printf (_("Offline Mode Is On"), _("Looks like you'are not connected to the\ninternet. Changes you make in offline\nmode will be synced when you reconnect")); // vala-lint=line-length
Expand Down
Loading